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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001125, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.3 MB / 213.7 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008055/0.0008056, allocations: 82.64 kB / 261.7 MB, free: 1.621 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1932/0.1932, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.595e-05/1.597e-05, allocations: 0 / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 58.86 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.619/6.732, allocations: 2.753 GB / 3.219 GB, free: 0.7383 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/6.732, allocations: 87.45 kB / 3.219 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.125/7.857, allocations: 288.4 MB / 3.501 GB, free: 84.08 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.102e-06/7.857, allocations: 0 / 3.501 GB, free: 84.08 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.907e-05/7.857, allocations: 7.969 kB / 3.501 GB, free: 84.07 MB / 0.4948 GB 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.004051/7.861, allocations: 1.205 MB / 3.502 GB, free: 83.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/7.861, allocations: 7.531 kB / 3.502 GB, free: 83.38 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009405/7.862, allocations: 128.6 kB / 3.502 GB, free: 83.35 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/7.863, allocations: 331.8 kB / 3.502 GB, free: 83.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/7.863, allocations: 11.06 kB / 3.502 GB, free: 83.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/7.863, allocations: 11.66 kB / 3.502 GB, free: 83.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003068/7.863, allocations: 207.8 kB / 3.503 GB, free: 83.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/7.863, allocations: 308.4 kB / 3.503 GB, free: 82.83 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/7.863, allocations: 7.156 kB / 3.503 GB, free: 82.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/7.863, allocations: 3.953 kB / 3.503 GB, free: 82.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/7.863, allocations: 10.53 kB / 3.503 GB, free: 82.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/7.866, allocations: 2.282 MB / 3.505 GB, free: 80.92 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/7.866, allocations: 126.4 kB / 3.505 GB, free: 80.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.115e-05/7.866, allocations: 50.52 kB / 3.505 GB, free: 80.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003432/7.866, allocations: 490.6 kB / 3.506 GB, free: 80.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/7.866, allocations: 34.44 kB / 3.506 GB, free: 80.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/7.866, allocations: 3.25 kB / 3.506 GB, free: 80.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0007363/7.867, allocations: 251.5 kB / 3.506 GB, free: 80.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/7.867, allocations: 106.5 kB / 3.506 GB, free: 80.08 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/7.867, allocations: 219.2 kB / 3.506 GB, free: 79.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/7.867, allocations: 25.7 kB / 3.506 GB, free: 79.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.152e-05/7.867, allocations: 217.5 kB / 3.507 GB, free: 79.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/7.867, allocations: 41.34 kB / 3.507 GB, free: 79.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/7.867, allocations: 3.125 kB / 3.507 GB, free: 79.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/7.867, allocations: 334.3 kB / 3.507 GB, free: 79.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.73e-05/7.868, allocations: 46.72 kB / 3.507 GB, free: 79.37 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/7.868, allocations: 155.7 kB / 3.507 GB, free: 79.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/7.868, allocations: 85.17 kB / 3.507 GB, free: 79.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/7.868, allocations: 3.938 kB / 3.507 GB, free: 79.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003919/7.868, allocations: 225.6 kB / 3.507 GB, free: 79.08 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/7.868, allocations: 7.562 kB / 3.507 GB, free: 79.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/7.868, allocations: 7.828 kB / 3.507 GB, free: 79.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/7.868, allocations: 7.594 kB / 3.507 GB, free: 79.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/7.869, allocations: 67.42 kB / 3.508 GB, free: 79.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/7.869, allocations: 11.59 kB / 3.508 GB, free: 79.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/7.869, allocations: 42.2 kB / 3.508 GB, free: 79.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/7.869, allocations: 15.47 kB / 3.508 GB, free: 79.05 MB / 0.4948 GB 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_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.186e-05/7.869, allocations: 112.6 kB / 3.508 GB, free: 78.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/7.869, allocations: 22.91 kB / 3.508 GB, free: 78.92 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006341/7.87, allocations: 0.6985 MB / 3.508 GB, free: 78.56 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/7.87, allocations: 7.812 kB / 3.508 GB, free: 78.56 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/7.87, allocations: 3.891 kB / 3.508 GB, free: 78.56 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/7.87, allocations: 0 / 3.508 GB, free: 78.56 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003865/7.87, allocations: 468.5 kB / 3.509 GB, free: 78.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/7.87, allocations: 3 kB / 3.509 GB, free: 78.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/7.87, allocations: 60.97 kB / 3.509 GB, free: 78.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/7.87, allocations: 0 / 3.509 GB, free: 78.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/7.87, allocations: 3.562 kB / 3.509 GB, free: 78.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/7.87, allocations: 5.734 kB / 3.509 GB, free: 78.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/7.87, allocations: 3.953 kB / 3.509 GB, free: 78.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/7.871, allocations: 397.5 kB / 3.509 GB, free: 78 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/7.871, allocations: 181.5 kB / 3.509 GB, free: 77.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/7.871, allocations: 4 kB / 3.51 GB, free: 77.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/7.871, allocations: 26.16 kB / 3.51 GB, free: 77.84 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/7.871, allocations: 26.16 kB / 3.51 GB, free: 77.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/7.871, allocations: 7.5 kB / 3.51 GB, free: 77.83 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000207/7.871, allocations: 279 kB / 3.51 GB, free: 77.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/7.871, allocations: 0 / 3.51 GB, free: 77.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004319/7.876, allocations: 0.8533 MB / 3.511 GB, free: 77.5 MB / 0.4948 GB 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 () * 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 (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.004569/7.88, allocations: 1.355 MB / 3.512 GB, free: 77.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003434/7.881, allocations: 184.7 kB / 3.512 GB, free: 77.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/7.881, allocations: 0 / 3.512 GB, free: 77.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/7.881, allocations: 136.9 kB / 3.512 GB, free: 77.08 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006637/7.881, allocations: 117.1 kB / 3.512 GB, free: 77.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007921/7.882, allocations: 0.5381 MB / 3.513 GB, free: 76.77 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/7.882, allocations: 0.8448 MB / 3.514 GB, free: 76.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002422/7.883, allocations: 135.6 kB / 3.514 GB, free: 76.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.907e-05/7.883, allocations: 24.66 kB / 3.514 GB, free: 76.05 MB / 0.4948 GB Notification: Performance of SimCode: time 2.3e-07/7.883, allocations: 0 / 3.514 GB, free: 76.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.02943/7.912, allocations: 23.89 MB / 3.537 GB, free: 72.14 MB / 0.4948 GB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches