Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 174.6 kB / 24.91 MB, free: 9.148 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9469/0.9469, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2763/0.2763, allocations: 34.26 MB / 296.1 MB, free: 0.7344 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.326e-05/1.466e-05, allocations: 4.422 kB / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.01217/0.01218, allocations: 14.52 MB / 339.8 MB, free: 9.086 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009943/0.02213, allocations: 11.68 MB / 351.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.02233, allocations: 15.88 kB / 351.5 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003894/0.02272, allocations: 127 kB / 351.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000451/0.02317, allocations: 286.2 kB / 351.9 MB, free: 12.95 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009139/0.03231, allocations: 4.891 MB / 356.8 MB, free: 8.035 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007182/0.03303, allocations: 0.8459 MB / 357.6 MB, free: 7.188 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002685/0.03329, allocations: 209.2 kB / 357.8 MB, free: 6.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002543/0.03584, allocations: 2.208 MB / 360 MB, free: 4.746 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.03603, allocations: 195.4 kB / 360.2 MB, free: 4.555 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.03607, allocations: 36 kB / 360.3 MB, free: 4.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007197/0.04326, allocations: 6.216 MB / 366.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.721e-05/0.04335, allocations: 91.66 kB / 366.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.518e-05/0.04344, allocations: 131.8 kB / 366.7 MB, free: 14.08 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00389/0.04733, allocations: 4.463 MB / 371.2 MB, free: 9.605 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.04734, allocations: 4 kB / 371.2 MB, free: 9.602 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.04734, allocations: 4 kB / 371.2 MB, free: 9.598 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.04734, allocations: 0 / 371.2 MB, free: 9.598 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.0009862/0.04833, allocations: 0.8907 MB / 372.1 MB, free: 8.676 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.04836, allocations: 8.031 kB / 372.1 MB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005517/0.04891, allocations: 180.2 kB / 372.3 MB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.0492, allocations: 268.6 kB / 372.5 MB, free: 8.203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.04923, allocations: 24.88 kB / 372.5 MB, free: 8.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.04925, allocations: 28.38 kB / 372.6 MB, free: 8.152 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005521/0.0498, allocations: 0.5452 MB / 373.1 MB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.04981, allocations: 8.188 kB / 373.1 MB, free: 7.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.04984, allocations: 19.88 kB / 373.1 MB, free: 7.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.04984, allocations: 4 kB / 373.1 MB, free: 7.496 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.05017, allocations: 224.8 kB / 373.4 MB, free: 7.273 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.05145, allocations: 1.507 MB / 374.9 MB, free: 5.703 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004294/0.05188, allocations: 226.3 kB / 375.1 MB, free: 5.473 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.88e-05/0.05192, allocations: 30.33 kB / 375.1 MB, free: 5.441 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07599/0.1279, allocations: 38.89 MB / 414 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.1279, allocations: 34.56 kB / 414 MB, free: 14.47 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.864e-06/0.1279, allocations: 0 / 414 MB, free: 14.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007425/0.1287, allocations: 298.8 kB / 414.3 MB, free: 14.17 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.1287, allocations: 110.8 kB / 414.4 MB, free: 14.04 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.1289, allocations: 258.8 kB / 414.7 MB, free: 13.78 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.1289, allocations: 25.7 kB / 414.7 MB, free: 13.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.337e-05/0.129, allocations: 200.4 kB / 414.9 MB, free: 13.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.1291, allocations: 43.62 kB / 415 MB, free: 13.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-05/0.1291, allocations: 57.62 kB / 415 MB, free: 13.44 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.679e-05/0.1292, allocations: 338.8 kB / 415.3 MB, free: 13.1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.937e-05/0.1293, allocations: 38.25 kB / 415.4 MB, free: 13.06 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.1294, allocations: 202.8 kB / 415.6 MB, free: 12.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.1295, allocations: 216.2 kB / 415.8 MB, free: 12.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1296, allocations: 0 / 415.8 MB, free: 12.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001961/0.1297, allocations: 195.9 kB / 416 MB, free: 12.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1298, allocations: 8 kB / 416 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1298, allocations: 4 kB / 416 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1298, allocations: 7.938 kB / 416 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.1299, allocations: 63.89 kB / 416.1 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1299, allocations: 4 kB / 416.1 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.13, allocations: 23.89 kB / 416.1 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.13, allocations: 15.98 kB / 416.1 MB, free: 12.21 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 9.794e-05/0.1301, allocations: 132.6 kB / 416.2 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.1302, allocations: 19.98 kB / 416.3 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004264/0.1306, allocations: 0.5134 MB / 416.8 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.1306, allocations: 11.92 kB / 416.8 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-06/0.1306, allocations: 0 / 416.8 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1306, allocations: 0 / 416.8 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.1309, allocations: 294.6 kB / 417.1 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.1309, allocations: 4 kB / 417.1 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.593e-05/0.1309, allocations: 31.97 kB / 417.1 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1309, allocations: 4 kB / 417.1 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.131, allocations: 3.938 kB / 417.1 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.131, allocations: 0 / 417.1 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.131, allocations: 0 / 417.1 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.1312, allocations: 354.7 kB / 417.5 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.1312, allocations: 31.7 kB / 417.5 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.1312, allocations: 27.78 kB / 417.5 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.687e-05/0.1313, allocations: 11.98 kB / 417.5 MB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.1314, allocations: 23.84 kB / 417.6 MB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.1314, allocations: 7.984 kB / 417.6 MB, free: 10.71 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.1315, allocations: 160.7 kB / 417.7 MB, free: 10.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1315, allocations: 0 / 417.7 MB, free: 10.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00161/0.1331, allocations: 0.8616 MB / 418.6 MB, free: 9.688 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.002126/0.1352, allocations: 1.146 MB / 419.7 MB, free: 8.539 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.1354, allocations: 133.5 kB / 419.9 MB, free: 8.406 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.1354, allocations: 16 kB / 419.9 MB, free: 8.391 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.418e-05/0.1355, allocations: 60.77 kB / 419.9 MB, free: 8.328 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.1359, allocations: 147 kB / 420.1 MB, free: 8.199 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009922/0.1368, allocations: 0.7868 MB / 420.9 MB, free: 7.375 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.926e-05/0.1369, allocations: 124.9 kB / 421 MB, free: 7.234 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.1371, allocations: 130.8 kB / 421.1 MB, free: 7.109 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.1373, allocations: 161.2 kB / 421.3 MB, free: 6.949 MB / 394.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1373, allocations: 4 kB / 421.3 MB, free: 6.945 MB / 394.7 MB Notification: Performance of Templates: time 0.1556/0.2929, allocations: 37.48 MB / 458.8 MB, free: 97.89 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.347096104640514]