Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009545/0.0009545, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001097, allocations: 162.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9011/0.9011, allocations: 177 MB / 205.2 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2526/0.2526, allocations: 34.87 MB / 296.6 MB, free: 0.5078 MB / 266.7 MB " [Timeout remaining time 180] 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.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 325.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.51e-05, allocations: 2.312 kB / 325.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.01932/0.01935, allocations: 14.47 MB / 340.4 MB, free: 8.656 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01684/0.03619, allocations: 11.68 MB / 352.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004728/0.03667, allocations: 11.88 kB / 352.1 MB, free: 12.92 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000636/0.0373, allocations: 135 kB / 352.2 MB, free: 12.79 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008359/0.03814, allocations: 282.2 kB / 352.5 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01758/0.05572, allocations: 5.414 MB / 357.9 MB, free: 7.074 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001202/0.05692, allocations: 0.8419 MB / 358.7 MB, free: 6.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004205/0.05734, allocations: 201.3 kB / 358.9 MB, free: 6.031 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004723/0.06206, allocations: 2.22 MB / 361.1 MB, free: 3.785 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003738/0.06244, allocations: 195.4 kB / 361.3 MB, free: 3.594 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.015e-05/0.0625, allocations: 32 kB / 361.4 MB, free: 3.562 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01076/0.07325, allocations: 5.806 MB / 367.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.07344, allocations: 103.7 kB / 367.3 MB, free: 13.65 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002804/0.07372, allocations: 135.7 kB / 367.4 MB, free: 13.52 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.08392, allocations: 4.455 MB / 371.9 MB, free: 9.051 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.08393, allocations: 0 / 371.9 MB, free: 9.051 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.08393, allocations: 0 / 371.9 MB, free: 9.051 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.08394, allocations: 4 kB / 371.9 MB, free: 9.047 MB / 346.7 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.002368/0.0863, allocations: 0.8946 MB / 372.8 MB, free: 8.121 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.08634, allocations: 8.031 kB / 372.8 MB, free: 8.113 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006057/0.08695, allocations: 184.3 kB / 372.9 MB, free: 7.934 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.08728, allocations: 256.7 kB / 373.2 MB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.08731, allocations: 20.88 kB / 373.2 MB, free: 7.641 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.08734, allocations: 32.38 kB / 373.3 MB, free: 7.609 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006214/0.08796, allocations: 0.5589 MB / 373.8 MB, free: 6.969 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.08797, allocations: 192 / 373.8 MB, free: 6.969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.08799, allocations: 15.94 kB / 373.8 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.088, allocations: 8 kB / 373.8 MB, free: 6.945 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003658/0.08837, allocations: 228.7 kB / 374.1 MB, free: 6.715 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.08992, allocations: 1.503 MB / 375.6 MB, free: 5.148 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.09037, allocations: 210.4 kB / 375.8 MB, free: 4.934 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.005e-05/0.09041, allocations: 25.61 kB / 375.8 MB, free: 4.906 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06814/0.1586, allocations: 38.9 MB / 414.7 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.1586, allocations: 42.56 kB / 414.7 MB, free: 13.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.164e-06/0.1586, allocations: 0 / 414.7 MB, free: 13.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007181/0.1593, allocations: 289.9 kB / 415 MB, free: 13.63 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.1594, allocations: 106.8 kB / 415.1 MB, free: 13.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.1595, allocations: 262.8 kB / 415.4 MB, free: 13.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1595, allocations: 29.7 kB / 415.4 MB, free: 13.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.805e-05/0.1596, allocations: 204.3 kB / 415.6 MB, free: 12.99 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.1597, allocations: 39.64 kB / 415.6 MB, free: 12.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.1597, allocations: 61.61 kB / 415.7 MB, free: 12.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.254e-05/0.1598, allocations: 338.8 kB / 416 MB, free: 12.55 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.579e-05/0.1599, allocations: 39.95 kB / 416.1 MB, free: 12.51 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.16, allocations: 201.6 kB / 416.3 MB, free: 12.24 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.1601, allocations: 200.9 kB / 416.5 MB, free: 12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1601, allocations: 0 / 416.5 MB, free: 12 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002003/0.1603, allocations: 202.3 kB / 416.7 MB, free: 11.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1604, allocations: 8 kB / 416.7 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.1604, allocations: 0 / 416.7 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1604, allocations: 11.94 kB / 416.7 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1605, allocations: 51.91 kB / 416.7 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1605, allocations: 12.34 kB / 416.7 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.1606, allocations: 31.88 kB / 416.8 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.1606, allocations: 12 kB / 416.8 MB, free: 11.67 MB / 394.7 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.0001003/0.1607, allocations: 133.3 kB / 416.9 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.1608, allocations: 19.97 kB / 416.9 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004178/0.1612, allocations: 0.5055 MB / 417.4 MB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.1612, allocations: 19.92 kB / 417.5 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.1612, allocations: 0 / 417.5 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-06/0.1612, allocations: 0 / 417.5 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.1615, allocations: 290.7 kB / 417.8 MB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.1615, allocations: 0 / 417.8 MB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.496e-05/0.1615, allocations: 31.91 kB / 417.8 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1615, allocations: 4 kB / 417.8 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.1616, allocations: 4 kB / 417.8 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1616, allocations: 0 / 417.8 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1616, allocations: 0 / 417.8 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.1618, allocations: 347.1 kB / 418.1 MB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.1618, allocations: 35.64 kB / 418.2 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.1619, allocations: 19.84 kB / 418.2 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.815e-05/0.1619, allocations: 11.98 kB / 418.2 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.162, allocations: 27.84 kB / 418.2 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.162, allocations: 4 kB / 418.2 MB, free: 10.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1621, allocations: 168.7 kB / 418.4 MB, free: 10.01 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1621, allocations: 0 / 418.4 MB, free: 10.01 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001957/0.1641, allocations: 0.8538 MB / 419.2 MB, free: 9.156 MB / 394.7 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.002646/0.1667, allocations: 1.15 MB / 420.4 MB, free: 8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002462/0.167, allocations: 134.5 kB / 420.5 MB, free: 7.867 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/0.167, allocations: 12 kB / 420.5 MB, free: 7.855 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.09e-05/0.167, allocations: 56.78 kB / 420.6 MB, free: 7.797 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.1675, allocations: 153.7 kB / 420.7 MB, free: 7.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.1686, allocations: 0.7898 MB / 421.5 MB, free: 6.832 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.002e-05/0.1687, allocations: 121 kB / 421.7 MB, free: 6.691 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001952/0.1688, allocations: 141.7 kB / 421.8 MB, free: 6.559 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.1691, allocations: 161.2 kB / 421.9 MB, free: 6.398 MB / 394.7 MB Notification: Performance of SimCode: time 1.303e-06/0.1691, allocations: 0 / 421.9 MB, free: 6.398 MB / 394.7 MB Notification: Performance of Templates: time 0.1661/0.3351, allocations: 37.48 MB / 459.4 MB, free: 97.34 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.187455976847559]