Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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.0009295/0.0009295, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00453/0.00546, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0009358/0.0009358, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004077/0.005013, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9454/0.9454, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1708/1.116, allocations: 49.5 MB / 220.5 MB, free: 5.277 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1389/0.1389, allocations: 32.34 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03571/0.1746, allocations: 12.29 MB / 265.9 MB, free: 7.844 MB / 266.7 MB " [Timeout remaining time 180] 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.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.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 267.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.139e-05, allocations: 6.25 kB / 267.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.009644/0.009665, allocations: 11.3 MB / 278.6 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.02149, allocations: 14.28 MB / 292.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.02165, allocations: 0 / 292.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.02193, allocations: 71.52 kB / 292.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009434/0.03136, allocations: 3.083 MB / 296 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.03174, allocations: 163.6 kB / 296.2 MB, free: 9.469 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003863/0.03561, allocations: 3.952 MB / 300.1 MB, free: 5.512 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.497e-05/0.03567, allocations: 26.47 kB / 300.1 MB, free: 5.484 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.0359, allocations: 203.5 kB / 300.3 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005564/0.04147, allocations: 7.158 MB / 307.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.04151, allocations: 12 kB / 307.5 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004538/0.04605, allocations: 2.403 MB / 309.9 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.446e-05/0.04614, allocations: 31.86 kB / 309.9 MB, free: 11.67 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.04628, allocations: 79.88 kB / 310 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0042/0.05048, allocations: 1.699 MB / 311.7 MB, free: 9.891 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.759e-05/0.0505, allocations: 0 / 311.7 MB, free: 9.891 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.0505, allocations: 0 / 311.7 MB, free: 9.891 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.05051, allocations: 0 / 311.7 MB, free: 9.891 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002195/0.05271, allocations: 1.193 MB / 312.9 MB, free: 8.652 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.05274, allocations: 8.031 kB / 312.9 MB, free: 8.645 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005735/0.05332, allocations: 152.4 kB / 313.1 MB, free: 8.496 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.05357, allocations: 173.5 kB / 313.2 MB, free: 8.301 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.05359, allocations: 28.97 kB / 313.3 MB, free: 8.273 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.05363, allocations: 24.38 kB / 313.3 MB, free: 8.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003673/0.0573, allocations: 429.3 kB / 313.7 MB, free: 7.777 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.05731, allocations: 192 / 313.7 MB, free: 7.777 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.05733, allocations: 16.12 kB / 313.7 MB, free: 7.762 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.05734, allocations: 8 kB / 313.7 MB, free: 7.754 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005981/0.05794, allocations: 395.7 kB / 314.1 MB, free: 7.367 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007164/0.06511, allocations: 2.586 MB / 316.7 MB, free: 4.734 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000411/0.06552, allocations: 163.3 kB / 316.9 MB, free: 4.566 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.787e-05/0.06557, allocations: 45.39 kB / 316.9 MB, free: 4.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07162/0.1372, allocations: 20.41 MB / 337.3 MB, free: 72 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1551/0.2923, allocations: 322.4 kB / 337.6 MB, free: 44.89 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 3.928e-06/0.2923, allocations: 0 / 337.6 MB, free: 44.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.001378/0.2937, allocations: 0.4979 MB / 338.1 MB, free: 44.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.2938, allocations: 477.5 kB / 338.6 MB, free: 44.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.2939, allocations: 170.9 kB / 338.8 MB, free: 44.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.2939, allocations: 32.2 kB / 338.8 MB, free: 44.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.895e-05/0.294, allocations: 169.1 kB / 339 MB, free: 44.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.256e-05/0.2941, allocations: 130.7 kB / 339.1 MB, free: 43.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.2942, allocations: 84.84 kB / 339.2 MB, free: 43.97 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.298e-05/0.2943, allocations: 337.2 kB / 339.5 MB, free: 43.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.602e-05/0.2943, allocations: 38.84 kB / 339.5 MB, free: 43.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.2945, allocations: 279.9 kB / 339.8 MB, free: 43.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.2948, allocations: 394.1 kB / 340.2 MB, free: 43.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.2948, allocations: 4.344 kB / 340.2 MB, free: 43.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004071/0.2952, allocations: 296 kB / 340.5 MB, free: 43.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.2952, allocations: 8.875 kB / 340.5 MB, free: 43.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.2953, allocations: 10.02 kB / 340.5 MB, free: 43.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.2953, allocations: 14.31 kB / 340.5 MB, free: 43.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006843/0.296, allocations: 179.6 kB / 340.7 MB, free: 43.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002064/0.2962, allocations: 0.5996 MB / 341.3 MB, free: 42.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.2964, allocations: 44.8 kB / 341.3 MB, free: 42.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.2964, allocations: 22.48 kB / 341.4 MB, free: 42.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.2965, allocations: 154.3 kB / 341.5 MB, free: 42.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.144e-05/0.2966, allocations: 36.19 kB / 341.5 MB, free: 42.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006755/0.2973, allocations: 0.6203 MB / 342.2 MB, free: 42.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.2973, allocations: 8.75 kB / 342.2 MB, free: 42.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2973, allocations: 2.5 kB / 342.2 MB, free: 42.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.2973, allocations: 10.94 kB / 342.2 MB, free: 42.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008454/0.2981, allocations: 0.6479 MB / 342.8 MB, free: 41.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.2981, allocations: 8.969 kB / 342.8 MB, free: 41.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004051/0.2985, allocations: 108.5 kB / 343 MB, free: 41.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.2986, allocations: 21.66 kB / 343 MB, free: 41.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.2986, allocations: 7.219 kB / 343 MB, free: 41.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.2986, allocations: 12.39 kB / 343 MB, free: 41.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001236/0.2987, allocations: 0.5795 MB / 343.6 MB, free: 41.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2987, allocations: 0 / 343.6 MB, free: 41.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.299, allocations: 394 kB / 344 MB, free: 40.92 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.859e-05/0.299, allocations: 51.86 kB / 344 MB, free: 40.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.2991, allocations: 17.31 kB / 344 MB, free: 40.9 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.2992, allocations: 25.62 kB / 344 MB, free: 40.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.2992, allocations: 18.48 kB / 344.1 MB, free: 40.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001167/0.2993, allocations: 155 kB / 344.2 MB, free: 40.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2993, allocations: 0 / 344.2 MB, free: 40.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001014/0.3003, allocations: 469.9 kB / 344.7 MB, free: 40.88 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001239/0.3015, allocations: 0.7535 MB / 345.4 MB, free: 40.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006122/0.3021, allocations: 261.1 kB / 345.7 MB, free: 40.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.876e-05/0.3022, allocations: 8.688 kB / 345.7 MB, free: 40.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.3023, allocations: 98.12 kB / 345.8 MB, free: 40.72 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.3028, allocations: 221.1 kB / 346 MB, free: 40.67 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8601/1.163, allocations: 0.5175 GB / 0.8553 GB, free: 100.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.047e-05/1.163, allocations: 105.6 kB / 0.8554 GB, free: 100.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003564/1.163, allocations: 162.1 kB / 0.8556 GB, free: 100.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/1.164, allocations: 131.3 kB / 0.8557 GB, free: 100.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.383e-06/1.164, allocations: 0 / 0.8557 GB, free: 100.1 MB / 426.7 MB Notification: Performance of Templates: time 0.01631/1.18, allocations: 18.26 MB / 0.8736 GB, free: 82.02 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.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.87237233761698]