Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007962/0.0007963, allocations: 92.69 kB / 16.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008556/0.0008556, allocations: 184.1 kB / 17.21 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 223.2 MB / 241.2 MB, free: 320 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002696/0.0002696, allocations: 4 kB / 300.8 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08415/0.08444, allocations: 50.42 MB / 351.2 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003302/0.08778, allocations: 3.003 MB / 354.2 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.08932, allocations: 0.826 MB / 355.1 MB, free: 184 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003046/0.08966, allocations: 11.94 kB / 355.1 MB, free: 172 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.08998, allocations: 79.39 kB / 355.2 MB, free: 92 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004976/0.09049, allocations: 150.9 kB / 355.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.09079, allocations: 95.83 kB / 355.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006332/0.09143, allocations: 0.5794 MB / 356 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.09169, allocations: 138.4 kB / 356.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002107/0.09191, allocations: 211.2 kB / 356.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.09219, allocations: 243 kB / 356.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.991e-05/0.09226, allocations: 36 kB / 356.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.752e-05/0.09234, allocations: 40 kB / 356.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.908e-05/0.09244, allocations: 95.64 kB / 356.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.934e-05/0.09254, allocations: 125.5 kB / 356.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003969/0.09295, allocations: 478.9 kB / 357.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.09296, allocations: 0 / 357.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.09297, allocations: 0 / 357.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.09298, allocations: 0 / 357.3 MB, free: 13.91 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001226/0.09421, allocations: 0.7687 MB / 358.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.09425, allocations: 8.031 kB / 358.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.09436, allocations: 59.34 kB / 358.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/0.09485, allocations: 377.7 kB / 358.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.47e-05/0.09496, allocations: 58.36 kB / 358.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.53e-05/0.09503, allocations: 36 kB / 358.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006905/0.09573, allocations: 453 kB / 359.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.09576, allocations: 0 / 359.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.0958, allocations: 19.95 kB / 359.1 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.09583, allocations: 19.92 kB / 359.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005512/0.09638, allocations: 282.5 kB / 359.4 MB, free: 11.7 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.09839, allocations: 1.294 MB / 360.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.09952, allocations: 442.4 kB / 361.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.09979, allocations: 140.8 kB / 361.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.09984, allocations: 15.81 kB / 361.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.09988, allocations: 38.56 kB / 361.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.523e-06/0.09989, allocations: 8 kB / 361.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001138/0.101, allocations: 0.603 MB / 361.9 MB, free: 8.992 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001997/0.1013, allocations: 456.9 kB / 362.3 MB, free: 8.441 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005156/0.1018, allocations: 446 kB / 362.8 MB, free: 7.992 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.1018, allocations: 33.7 kB / 362.8 MB, free: 7.953 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.102, allocations: 236.4 kB / 363 MB, free: 7.719 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.634e-05/0.1021, allocations: 106.4 kB / 363.1 MB, free: 7.613 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.853e-05/0.1021, allocations: 8 kB / 363.2 MB, free: 7.605 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1023, allocations: 354.8 kB / 363.5 MB, free: 7.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.1025, allocations: 116.6 kB / 363.6 MB, free: 7.133 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.1029, allocations: 256 kB / 363.9 MB, free: 6.832 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.1032, allocations: 163.2 kB / 364 MB, free: 6.668 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1032, allocations: 4 kB / 364 MB, free: 6.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000734/0.104, allocations: 428.9 kB / 364.4 MB, free: 6.227 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.177e-05/0.104, allocations: 29.7 kB / 364.5 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.104, allocations: 0 / 364.5 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001514/0.1042, allocations: 57.72 kB / 364.5 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.1045, allocations: 71.89 kB / 364.6 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/0.1068, allocations: 2.744 MB / 367.3 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/0.1071, allocations: 47.7 kB / 367.4 MB, free: 3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.1072, allocations: 12 kB / 367.4 MB, free: 2.988 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002044/0.1074, allocations: 169.7 kB / 367.6 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.97e-05/0.1075, allocations: 47.44 kB / 367.6 MB, free: 2.766 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.613e-05/0.1076, allocations: 56.69 kB / 367.7 MB, free: 2.711 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1076, allocations: 4 kB / 367.7 MB, free: 2.707 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1076, allocations: 0 / 367.7 MB, free: 2.707 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006739/0.1083, allocations: 0.6531 MB / 368.3 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.1095, allocations: 0.912 MB / 369.2 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.1096, allocations: 0 / 369.2 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003367/0.1099, allocations: 75.89 kB / 369.3 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1099, allocations: 0 / 369.3 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.1099, allocations: 11.94 kB / 369.3 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.11, allocations: 4 kB / 369.3 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.11, allocations: 3.953 kB / 369.3 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008031/0.1108, allocations: 0.5347 MB / 369.9 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.1109, allocations: 156.5 kB / 370 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.944e-05/0.1111, allocations: 12 kB / 370 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.1114, allocations: 19.98 kB / 370 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.1114, allocations: 15.97 kB / 370.1 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.1114, allocations: 15.95 kB / 370.1 MB, free: 100 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.1648/0.2763, allocations: 312.6 kB / 370.4 MB, free: 24.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.01e-07/0.2763, allocations: 0 / 370.4 MB, free: 24.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007507/0.2771, allocations: 131 kB / 370.5 MB, free: 24.54 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001535/0.2772, allocations: 109.2 kB / 370.6 MB, free: 24.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.2783, allocations: 0.5663 MB / 371.2 MB, free: 24.17 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.2783, allocations: 2 kB / 371.2 MB, free: 24.17 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003026/0.2787, allocations: 131.3 kB / 371.3 MB, free: 24.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008236/0.2795, allocations: 129.4 kB / 371.4 MB, free: 24.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.2812, allocations: 1.051 MB / 372.5 MB, free: 23.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.2815, allocations: 0.8194 MB / 373.3 MB, free: 22.95 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002973/0.2818, allocations: 61.97 kB / 373.4 MB, free: 22.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.2819, allocations: 42.02 kB / 373.4 MB, free: 22.92 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2819, allocations: 0 / 373.4 MB, free: 22.92 MB / 302.1 MB Notification: Performance of Templates: time 0.01464/0.2965, allocations: 7.291 MB / 380.7 MB, free: 21.52 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches