Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 114.6 kB / 17.04 MB, free: 6.129 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.001719/0.001719, allocations: 192.6 kB / 17.98 MB, free: 5.227 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.1 MB / 223.8 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2251/0.2251, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 71.83 kB / 442.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1414, allocations: 57.78 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03351/0.1749, allocations: 30.06 MB / 0.5178 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3171/0.492, allocations: 15.49 MB / 0.533 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005707/0.4927, allocations: 13.09 kB / 0.533 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009065/0.4936, allocations: 211.6 kB / 0.5332 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007535/0.4944, allocations: 265.6 kB / 0.5334 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01992/0.5143, allocations: 5.617 MB / 0.5389 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001603/0.516, allocations: 0.8113 MB / 0.5397 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005213/0.5165, allocations: 228 kB / 0.5399 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01507/0.5316, allocations: 5.461 MB / 0.5453 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007554/0.5324, allocations: 238 kB / 0.5455 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.488e-05/0.5325, allocations: 29.12 kB / 0.5455 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01683/0.5493, allocations: 6.082 MB / 0.5515 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.5496, allocations: 82.92 kB / 0.5515 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005291/0.5501, allocations: 193.5 kB / 0.5517 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01376/0.5639, allocations: 3.646 MB / 0.5553 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.564, allocations: 4 kB / 0.5553 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.564, allocations: 0 / 0.5553 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.564, allocations: 1.125 kB / 0.5553 GB, free: 0.9297 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.004168/0.5682, allocations: 0.9892 MB / 0.5562 GB, free: 240 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.5682, allocations: 13.48 kB / 0.5563 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.5693, allocations: 115.4 kB / 0.5564 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005772/0.5699, allocations: 340 kB / 0.5567 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.214e-05/0.57, allocations: 24.31 kB / 0.5567 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/0.57, allocations: 28.25 kB / 0.5567 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.5712, allocations: 455.6 kB / 0.5572 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.5712, allocations: 0 / 0.5572 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.904e-05/0.5713, allocations: 13.62 kB / 0.5572 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.5713, allocations: 7.5 kB / 0.5572 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.5724, allocations: 370.2 kB / 0.5576 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003474/0.5759, allocations: 2.372 MB / 0.5599 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.577, allocations: 280 kB / 0.5601 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002803/0.5773, allocations: 100.1 kB / 0.5602 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004698/0.5778, allocations: 486.5 kB / 0.5607 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.5778, allocations: 37.66 kB / 0.5607 GB, free: 12.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.693e-06/0.5778, allocations: 4 kB / 0.5607 GB, free: 12.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.001848/0.5797, allocations: 448 kB / 0.5612 GB, free: 12.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.949e-05/0.5798, allocations: 107.5 kB / 0.5613 GB, free: 12.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000473/0.5802, allocations: 322.6 kB / 0.5616 GB, free: 12.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.119e-05/0.5803, allocations: 28.64 kB / 0.5616 GB, free: 12.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.5805, allocations: 212 kB / 0.5618 GB, free: 12.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.5806, allocations: 39.92 kB / 0.5618 GB, free: 12.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.5807, allocations: 50.95 kB / 0.5619 GB, free: 12.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.5809, allocations: 344 kB / 0.5622 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/0.5812, allocations: 86.8 kB / 0.5623 GB, free: 11.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.5816, allocations: 211.7 kB / 0.5625 GB, free: 11.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006336/0.5822, allocations: 284.7 kB / 0.5628 GB, free: 11.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.5822, allocations: 1.875 kB / 0.5628 GB, free: 11.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007741/0.583, allocations: 317.5 kB / 0.5631 GB, free: 11.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.5831, allocations: 8.969 kB / 0.5631 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.5831, allocations: 2.938 kB / 0.5631 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/0.5831, allocations: 7.594 kB / 0.5631 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.5834, allocations: 63.17 kB / 0.5632 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.5834, allocations: 10.83 kB / 0.5632 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.5837, allocations: 45.08 kB / 0.5632 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.5838, allocations: 16.8 kB / 0.5632 GB, free: 11.44 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002166/0.584, allocations: 155.6 kB / 0.5634 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-05/0.5841, allocations: 30.19 kB / 0.5634 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.5854, allocations: 0.7416 MB / 0.5641 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.5854, allocations: 15.3 kB / 0.5641 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.5854, allocations: 3.938 kB / 0.5641 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.5854, allocations: 0 / 0.5641 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000625/0.586, allocations: 0.5204 MB / 0.5647 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.5861, allocations: 0.8438 kB / 0.5647 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.5863, allocations: 45.77 kB / 0.5647 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.5863, allocations: 0 / 0.5647 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.5863, allocations: 6.594 kB / 0.5647 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5863, allocations: 0 / 0.5647 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5863, allocations: 3.938 kB / 0.5647 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000806/0.5871, allocations: 462 kB / 0.5652 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.5873, allocations: 120.5 kB / 0.5653 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.522e-05/0.5873, allocations: 24.78 kB / 0.5653 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.5876, allocations: 12.64 kB / 0.5653 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.41e-05/0.5877, allocations: 27.91 kB / 0.5653 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.5877, allocations: 8 kB / 0.5653 GB, free: 10.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004111/0.5881, allocations: 346.3 kB / 0.5657 GB, free: 10.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.22e-07/0.5881, allocations: 2.938 kB / 0.5657 GB, free: 10.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004541/0.5926, allocations: 0.8351 MB / 0.5665 GB, free: 9.879 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006851/0.5995, allocations: 0.9816 MB / 0.5674 GB, free: 9.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009265/0.6005, allocations: 275.9 kB / 0.5677 GB, free: 9.449 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6005, allocations: 0 / 0.5677 GB, free: 9.449 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003119/0.6008, allocations: 163.9 kB / 0.5679 GB, free: 9.371 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.6019, allocations: 183.6 kB / 0.568 GB, free: 9.273 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.6035, allocations: 0.8621 MB / 0.5689 GB, free: 8.727 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.6039, allocations: 0.8344 MB / 0.5697 GB, free: 7.969 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.369e-05/0.604, allocations: 37.19 kB / 0.5697 GB, free: 7.961 MB / 430.1 MB Notification: Performance of SimCode: time 7.41e-07/0.604, allocations: 4 kB / 0.5697 GB, free: 7.957 MB / 430.1 MB Notification: Performance of Templates: time 0.03957/0.6436, allocations: 19.71 MB / 0.589 GB, free: 6.77 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches