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.001252/0.001252, allocations: 119.8 kB / 17.09 MB, free: 5.992 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.001348/0.001348, allocations: 193.2 kB / 18.01 MB, free: 5.07 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.63/1.63, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2261/0.2261, allocations: 43.53 MB / 314.8 MB, free: 452 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.001846/0.001846, allocations: 67.84 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1464, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.039/0.1854, allocations: 30.05 MB / 0.5179 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.373/0.5585, allocations: 15.49 MB / 0.533 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004253/0.559, allocations: 8.656 kB / 0.533 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007687/0.5599, allocations: 219.1 kB / 0.5332 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006421/0.5605, allocations: 269 kB / 0.5335 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0201/0.5806, allocations: 5.617 MB / 0.539 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001789/0.5824, allocations: 0.8113 MB / 0.5398 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005813/0.583, allocations: 225.4 kB / 0.54 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01298/0.596, allocations: 5.468 MB / 0.5453 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006604/0.5967, allocations: 235.7 kB / 0.5455 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.484e-05/0.5968, allocations: 32.59 kB / 0.5456 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01675/0.6136, allocations: 6.077 MB / 0.5515 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.6138, allocations: 87.67 kB / 0.5516 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000446/0.6143, allocations: 189.8 kB / 0.5518 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01186/0.6261, allocations: 3.642 MB / 0.5553 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.6262, allocations: 1.344 kB / 0.5553 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6262, allocations: 0 / 0.5553 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.6262, allocations: 4.562 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.003423/0.6296, allocations: 0.988 MB / 0.5563 GB, free: 240 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.73e-05/0.6297, allocations: 17.47 kB / 0.5563 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.6307, allocations: 116.8 kB / 0.5564 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006524/0.6314, allocations: 346.2 kB / 0.5568 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/0.6314, allocations: 19.31 kB / 0.5568 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.915e-05/0.6315, allocations: 29.69 kB / 0.5568 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.6327, allocations: 455.9 kB / 0.5572 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.6327, allocations: 2.906 kB / 0.5572 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.6328, allocations: 13.06 kB / 0.5573 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.6328, allocations: 6.875 kB / 0.5573 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.634, allocations: 368.1 kB / 0.5576 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003919/0.6379, allocations: 2.378 MB / 0.5599 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.6391, allocations: 283.1 kB / 0.5602 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003154/0.6395, allocations: 95.08 kB / 0.5603 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006087/0.6401, allocations: 481.6 kB / 0.5608 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.6401, allocations: 34.22 kB / 0.5608 GB, free: 12.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.6402, allocations: 2.625 kB / 0.5608 GB, free: 12.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.001803/0.642, allocations: 453.1 kB / 0.5612 GB, free: 12.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.969e-05/0.6421, allocations: 105.5 kB / 0.5613 GB, free: 12.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003911/0.6425, allocations: 324.1 kB / 0.5616 GB, free: 12.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.6425, allocations: 30.42 kB / 0.5617 GB, free: 12.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.6427, allocations: 207.2 kB / 0.5619 GB, free: 12.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/0.6427, allocations: 49.31 kB / 0.5619 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.612e-05/0.6428, allocations: 54.91 kB / 0.562 GB, free: 12.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.643, allocations: 337.8 kB / 0.5623 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/0.6433, allocations: 88.09 kB / 0.5624 GB, free: 11.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/0.6437, allocations: 203.8 kB / 0.5626 GB, free: 11.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005793/0.6442, allocations: 281.1 kB / 0.5628 GB, free: 11.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.6443, allocations: 7.312 kB / 0.5628 GB, free: 11.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007079/0.645, allocations: 316.8 kB / 0.5631 GB, free: 11.49 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.645, allocations: 7.219 kB / 0.5631 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.645, allocations: 7.609 kB / 0.5632 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.645, allocations: 5.781 kB / 0.5632 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.6453, allocations: 62.44 kB / 0.5632 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.6453, allocations: 17.3 kB / 0.5632 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.6456, allocations: 41.73 kB / 0.5633 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.6456, allocations: 15.5 kB / 0.5633 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.0001608/0.6458, allocations: 156.9 kB / 0.5634 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/0.6458, allocations: 29.86 kB / 0.5635 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.647, allocations: 0.7446 MB / 0.5642 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.647, allocations: 6.922 kB / 0.5642 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.6471, allocations: 3.938 kB / 0.5642 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.6471, allocations: 7.828 kB / 0.5642 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006028/0.6477, allocations: 0.5233 MB / 0.5647 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.6477, allocations: 0 / 0.5647 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.6479, allocations: 47.27 kB / 0.5648 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.6479, allocations: 1.75 kB / 0.5648 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.6479, allocations: 0 / 0.5648 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.648, allocations: 5.703 kB / 0.5648 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.648, allocations: 3.938 kB / 0.5648 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007456/0.6487, allocations: 459.6 kB / 0.5652 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.6488, allocations: 121.7 kB / 0.5653 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.386e-05/0.6489, allocations: 21.34 kB / 0.5654 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.6491, allocations: 19.98 kB / 0.5654 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/0.6492, allocations: 29.62 kB / 0.5654 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.6492, allocations: 2.781 kB / 0.5654 GB, free: 10.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003915/0.6496, allocations: 341.8 kB / 0.5657 GB, free: 10.03 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6496, allocations: 6.438 kB / 0.5657 GB, free: 10.03 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004193/0.6538, allocations: 0.8327 MB / 0.5666 GB, free: 9.891 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.004416/0.6582, allocations: 0.9757 MB / 0.5675 GB, free: 9.578 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007692/0.659, allocations: 285.1 kB / 0.5678 GB, free: 9.453 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.659, allocations: 0 / 0.5678 GB, free: 9.453 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.6594, allocations: 167.6 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.000967/0.6603, allocations: 172.9 kB / 0.5681 GB, free: 9.281 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.6617, allocations: 0.8555 MB / 0.5689 GB, free: 8.738 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.6622, allocations: 0.8404 MB / 0.5698 GB, free: 7.977 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.532e-05/0.6623, allocations: 40.36 kB / 0.5698 GB, free: 7.965 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.6623, allocations: 0 / 0.5698 GB, free: 7.965 MB / 430.1 MB Notification: Performance of Templates: time 0.03684/0.6991, allocations: 19.76 MB / 0.5891 GB, free: 6.684 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