Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json 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) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) 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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009851/0.0009852, allocations: 175.9 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.2 MB / 241 MB, free: 11.86 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 94.09 kB / 292.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3984/0.3984, allocations: 44.22 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004682, allocations: 8 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4599/0.4604, allocations: 61.9 MB / 0.5096 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.295/7.755, allocations: 2.759 GB / 3.269 GB, free: 18.48 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/7.755, allocations: 91.27 kB / 3.269 GB, free: 18.43 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.35/9.105, allocations: 295.6 MB / 3.557 GB, free: 77.46 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.046e-06/9.105, allocations: 0 / 3.557 GB, free: 77.46 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.216e-05/9.105, allocations: 8.375 kB / 3.557 GB, free: 77.46 MB / 0.5261 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.005781/9.111, allocations: 1.235 MB / 3.559 GB, free: 76.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/9.111, allocations: 13.16 kB / 3.559 GB, free: 76.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/9.112, allocations: 119.3 kB / 3.559 GB, free: 76.78 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006601/9.113, allocations: 331.6 kB / 3.559 GB, free: 76.56 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.659e-05/9.113, allocations: 25.31 kB / 3.559 GB, free: 76.56 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.192e-05/9.113, allocations: 23.41 kB / 3.559 GB, free: 76.56 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/9.114, allocations: 458.6 kB / 3.56 GB, free: 76.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/9.114, allocations: 7.266 kB / 3.56 GB, free: 76.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/9.114, allocations: 22.16 kB / 3.56 GB, free: 76.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/9.114, allocations: 3.812 kB / 3.56 GB, free: 76.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/9.115, allocations: 394 kB / 3.56 GB, free: 76.43 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002832/9.118, allocations: 2.361 MB / 3.562 GB, free: 74.67 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008973/9.119, allocations: 282 kB / 3.563 GB, free: 74.65 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003747/9.119, allocations: 477.5 kB / 3.563 GB, free: 74.18 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/9.119, allocations: 34.19 kB / 3.563 GB, free: 74.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/9.119, allocations: 3 kB / 3.563 GB, free: 74.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.001498/9.121, allocations: 473.2 kB / 3.563 GB, free: 74.09 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/9.121, allocations: 113.1 kB / 3.564 GB, free: 73.96 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/9.121, allocations: 277.8 kB / 3.564 GB, free: 73.84 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/9.121, allocations: 29.67 kB / 3.564 GB, free: 73.81 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/9.121, allocations: 213.5 kB / 3.564 GB, free: 73.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/9.121, allocations: 38.36 kB / 3.564 GB, free: 73.68 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.158e-05/9.122, allocations: 3.562 kB / 3.564 GB, free: 73.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.967e-05/9.122, allocations: 349.1 kB / 3.564 GB, free: 73.36 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/9.122, allocations: 82.38 kB / 3.565 GB, free: 73.36 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/9.122, allocations: 200.6 kB / 3.565 GB, free: 73.22 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/9.122, allocations: 106.9 kB / 3.565 GB, free: 73.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/9.122, allocations: 0 / 3.565 GB, free: 73.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006746/9.123, allocations: 329.5 kB / 3.565 GB, free: 73.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/9.123, allocations: 7.125 kB / 3.565 GB, free: 73.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/9.123, allocations: 3.969 kB / 3.565 GB, free: 73.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/9.123, allocations: 7.562 kB / 3.565 GB, free: 73.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/9.123, allocations: 69.19 kB / 3.565 GB, free: 73.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/9.123, allocations: 7.938 kB / 3.565 GB, free: 73.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003036/9.124, allocations: 55.92 kB / 3.565 GB, free: 73.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/9.124, allocations: 18.72 kB / 3.565 GB, free: 73.13 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001579/9.124, allocations: 150.6 kB / 3.565 GB, free: 73.01 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/9.124, allocations: 31.38 kB / 3.565 GB, free: 73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/9.125, allocations: 0.7618 MB / 3.566 GB, free: 72.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/9.125, allocations: 11.61 kB / 3.566 GB, free: 72.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/9.125, allocations: 0 / 3.566 GB, free: 72.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/9.125, allocations: 7.844 kB / 3.566 GB, free: 72.79 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005403/9.126, allocations: 0.5204 MB / 3.567 GB, free: 72.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/9.126, allocations: 0 / 3.567 GB, free: 72.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/9.126, allocations: 54.22 kB / 3.567 GB, free: 72.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/9.126, allocations: 0 / 3.567 GB, free: 72.45 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/9.126, allocations: 7.906 kB / 3.567 GB, free: 72.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/9.126, allocations: 0 / 3.567 GB, free: 72.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/9.126, allocations: 0 / 3.567 GB, free: 72.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006608/9.127, allocations: 475.5 kB / 3.567 GB, free: 72.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/9.127, allocations: 188.9 kB / 3.567 GB, free: 72.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.975e-05/9.127, allocations: 4 kB / 3.567 GB, free: 72.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/9.127, allocations: 30.98 kB / 3.567 GB, free: 72.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.809e-05/9.127, allocations: 17.83 kB / 3.568 GB, free: 72.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/9.127, allocations: 3.406 kB / 3.568 GB, free: 72.02 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000353/9.128, allocations: 341.9 kB / 3.568 GB, free: 71.86 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/9.128, allocations: 0 / 3.568 GB, free: 71.86 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006057/9.134, allocations: 0.8693 MB / 3.569 GB, free: 71.68 MB / 0.5261 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 () * 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 (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.01114/9.145, allocations: 1.295 MB / 3.57 GB, free: 71.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001059/9.146, allocations: 269.6 kB / 3.57 GB, free: 71.37 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/9.146, allocations: 0 / 3.57 GB, free: 71.37 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003173/9.146, allocations: 167.9 kB / 3.57 GB, free: 71.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/9.147, allocations: 166.5 kB / 3.571 GB, free: 71.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/9.149, allocations: 1.036 MB / 3.572 GB, free: 70.64 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/9.149, allocations: 0.8573 MB / 3.572 GB, free: 69.94 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003833/9.15, allocations: 126.6 kB / 3.572 GB, free: 69.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.515e-05/9.15, allocations: 31.62 kB / 3.573 GB, free: 69.93 MB / 0.5261 GB Notification: Performance of SimCode: time 5.81e-07/9.15, allocations: 0 / 3.573 GB, free: 69.93 MB / 0.5261 GB Notification: Performance of Templates: time 0.04096/9.191, allocations: 28.05 MB / 3.6 GB, free: 69.2 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches