Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1_1.T|Tmix1_2.T|Tmix2.T|Tdiff|volume1_1.medium.h|volume1_2.medium.h|volume2_1.medium.h|volume2_2.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1_1.T|Tmix1_2.T|Tmix2.T|Tdiff|volume1_1.medium.h|volume1_2.medium.h|volume2_1.medium.h|volume2_2.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008101/0.0008101, allocations: 90.75 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009174/0.0009173, allocations: 198.7 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.7 MB / 246.8 MB, free: 11.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2078/0.2078, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003684, allocations: 8 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1237, allocations: 63.56 MB / 483.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.2904/0.4141, allocations: 75.75 MB / 0.5457 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03905/0.4531, allocations: 34.32 MB / 0.5793 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002259/0.4554, allocations: 51.56 kB / 0.5793 GB, free: 6.391 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002546/0.458, allocations: 0.9249 MB / 0.5802 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0129/0.4709, allocations: 4.307 MB / 0.5844 GB, free: 1.152 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01576/0.4867, allocations: 5.606 MB / 0.5899 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008003/0.4947, allocations: 7.269 MB / 0.597 GB, free: 4.273 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001766/0.4965, allocations: 1.15 MB / 0.5981 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009425/0.506, allocations: 5.036 MB / 0.603 GB, free: 14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002783/0.5088, allocations: 1.639 MB / 0.6046 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003566/0.5091, allocations: 100 kB / 0.6047 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01352/0.5227, allocations: 7.083 MB / 0.6116 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007704/0.5235, allocations: 0.6388 MB / 0.6123 GB, free: 4.531 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001399/0.5249, allocations: 1.036 MB / 0.6133 GB, free: 3.484 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01637/0.5413, allocations: 6.539 MB / 0.6197 GB, free: 12.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5413, allocations: 4 kB / 0.6197 GB, free: 12.92 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.5413, allocations: 4 kB / 0.6197 GB, free: 12.92 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.842e-05/0.5414, allocations: 3.938 kB / 0.6197 GB, free: 12.91 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.006186/0.5476, allocations: 2.455 MB / 0.6221 GB, free: 10.4 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.5476, allocations: 9.469 kB / 0.6221 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006355/0.554, allocations: 0.8417 MB / 0.6229 GB, free: 9.551 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/0.5562, allocations: 1.053 MB / 0.6239 GB, free: 8.457 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004607/0.5567, allocations: 461.2 kB / 0.6244 GB, free: 7.945 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004264/0.5571, allocations: 179.8 kB / 0.6245 GB, free: 7.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007676/0.5648, allocations: 3.209 MB / 0.6277 GB, free: 4.305 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.391e-05/0.5649, allocations: 11.88 kB / 0.6277 GB, free: 4.293 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002953/0.5652, allocations: 83.98 kB / 0.6278 GB, free: 4.211 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.957e-05/0.5653, allocations: 82.72 kB / 0.6278 GB, free: 4.129 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007413/0.5727, allocations: 2.808 MB / 0.6306 GB, free: 1.312 MB / 462.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.01804/0.5908, allocations: 15.82 MB / 0.646 GB, free: 400 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004496/0.5953, allocations: 1.475 MB / 0.6475 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.5968, allocations: 0.5784 MB / 0.648 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/0.598, allocations: 0.7103 MB / 0.6487 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.645e-05/0.5981, allocations: 51.56 kB / 0.6488 GB, free: 13.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=101): time 2.896e-06/0.5981, allocations: 4 kB / 0.6488 GB, free: 13.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=117): time 0.01776/0.6159, allocations: 5.506 MB / 0.6542 GB, free: 7.863 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.616, allocations: 171.2 kB / 0.6543 GB, free: 7.656 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/0.6182, allocations: 1.457 MB / 0.6558 GB, free: 6.188 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.6183, allocations: 53.7 kB / 0.6558 GB, free: 6.129 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007075/0.619, allocations: 0.9283 MB / 0.6567 GB, free: 5.188 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003704/0.6194, allocations: 426.1 kB / 0.6571 GB, free: 4.766 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/0.6197, allocations: 202.3 kB / 0.6573 GB, free: 4.562 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.76e-05/0.6198, allocations: 305.1 kB / 0.6576 GB, free: 4.262 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/0.6215, allocations: 0.715 MB / 0.6583 GB, free: 3.543 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002522/0.624, allocations: 1.969 MB / 0.6602 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004379/0.6284, allocations: 2.853 MB / 0.663 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.859e-05/0.6285, allocations: 12 kB / 0.663 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.00581/0.6343, allocations: 2.885 MB / 0.6658 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.6343, allocations: 22.19 kB / 0.6659 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.854e-05/0.6344, allocations: 48.78 kB / 0.6659 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/0.6358, allocations: 439 kB / 0.6663 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/0.6375, allocations: 0.5459 MB / 0.6669 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.6396, allocations: 2.744 MB / 0.6695 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/0.6416, allocations: 223.8 kB / 0.6698 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/0.6418, allocations: 140 kB / 0.6699 GB, free: 6.336 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.medium.phase,source1.medium.phase,volume2_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume1_1.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,7), (1,7), (1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0009272/0.6428, allocations: 0.5475 MB / 0.6704 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003547/0.6431, allocations: 178 kB / 0.6706 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007431/0.6506, allocations: 5.079 MB / 0.6755 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-05/0.6507, allocations: 47.92 kB / 0.6756 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.6507, allocations: 0 / 0.6756 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.6507, allocations: 7.969 kB / 0.6756 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/0.6612, allocations: 7.236 MB / 0.6827 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.6613, allocations: 0 / 0.6827 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.6624, allocations: 300 kB / 0.683 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/0.6638, allocations: 443 kB / 0.6834 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.856e-05/0.6639, allocations: 24 kB / 0.6834 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002373/0.6662, allocations: 2.803 MB / 0.6861 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.6663, allocations: 3.938 kB / 0.6861 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006692/0.673, allocations: 4.193 MB / 0.6902 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/0.6741, allocations: 0.5672 MB / 0.6908 GB, free: 472 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004464/0.6746, allocations: 24 kB / 0.6908 GB, free: 448 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/0.6759, allocations: 147.6 kB / 0.691 GB, free: 300 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002202/0.6762, allocations: 104.9 kB / 0.6911 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.6763, allocations: 59.95 kB / 0.6911 GB, free: 132 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002025/0.6783, allocations: 1.232 MB / 0.6923 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6783, allocations: 0 / 0.6923 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004402/0.6827, allocations: 1.402 MB / 0.6937 GB, free: 13.47 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 32 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,sink1.medium.phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,5), (2,5), (2,5), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005123/0.6879, allocations: 1.379 MB / 0.695 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004874/0.6928, allocations: 2.309 MB / 0.6973 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/0.6928, allocations: 448 / 0.6973 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002597/0.6954, allocations: 1.398 MB / 0.6986 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005692/0.7011, allocations: 0.8951 MB / 0.6995 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008219/0.7094, allocations: 5.729 MB / 0.7051 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/0.7108, allocations: 1.652 MB / 0.7067 GB, free: 16 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.1881/0.8989, allocations: 0.9577 MB / 0.7077 GB, free: 182.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/0.8993, allocations: 139.9 kB / 0.7078 GB, free: 182.6 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.8993, allocations: 0 / 0.7078 GB, free: 182.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.09149/0.9908, allocations: 65.85 MB / 0.7721 GB, free: 138.2 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTemperature2/TestTemperature2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches