Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.00103/0.00103, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001637/0.002668, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009394/0.0009394, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.001964, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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.9791/0.9791, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08907/1.068, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.2418/0.2418, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02774/0.2696, allocations: 13.1 MB / 291.5 MB, free: 7.332 MB / 282.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.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,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_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,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_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 292.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184e-05/1.336e-05, allocations: 5.75 kB / 292.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.008902/0.008916, allocations: 11.37 MB / 304.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00948/0.0184, allocations: 11.77 MB / 316 MB, free: 14.93 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.429e-05/0.01849, allocations: 0 / 316 MB, free: 14.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.0187, allocations: 79.38 kB / 316.1 MB, free: 14.85 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007731/0.02643, allocations: 3.088 MB / 319.2 MB, free: 11.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.02676, allocations: 155.7 kB / 319.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003606/0.03037, allocations: 3.956 MB / 323.3 MB, free: 7.633 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.565e-05/0.03043, allocations: 30.47 kB / 323.3 MB, free: 7.602 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.03061, allocations: 203.5 kB / 323.5 MB, free: 7.402 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005279/0.03589, allocations: 7.154 MB / 330.7 MB, free: 248 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.03592, allocations: 16 kB / 330.7 MB, free: 232 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003414/0.03934, allocations: 2.165 MB / 332.9 MB, free: 14.06 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.735e-05/0.0394, allocations: 27.88 kB / 332.9 MB, free: 14.03 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.739e-05/0.03948, allocations: 75.88 kB / 333 MB, free: 13.96 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.04105, allocations: 1.504 MB / 334.5 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.345e-05/0.04107, allocations: 3.984 kB / 334.5 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.04107, allocations: 0 / 334.5 MB, free: 12.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.04108, allocations: 0 / 334.5 MB, free: 12.45 MB / 330.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.001347/0.04242, allocations: 1.119 MB / 335.6 MB, free: 11.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.04246, allocations: 8.031 kB / 335.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006695/0.04313, allocations: 164.4 kB / 335.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.04332, allocations: 181.4 kB / 335.9 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.04333, allocations: 25.03 kB / 335.9 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.04336, allocations: 24.38 kB / 336 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/0.04382, allocations: 433.2 kB / 336.4 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.04383, allocations: 192 / 336.4 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.04386, allocations: 20.12 kB / 336.4 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.04387, allocations: 8 kB / 336.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004369/0.0443, allocations: 387.7 kB / 336.8 MB, free: 9.984 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003353/0.04766, allocations: 2.851 MB / 339.7 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.04796, allocations: 143 kB / 339.8 MB, free: 6.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.623e-05/0.04799, allocations: 37.55 kB / 339.8 MB, free: 6.891 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01006/0.05805, allocations: 7.243 MB / 347.1 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003864/0.05844, allocations: 309.8 kB / 347.4 MB, free: 15.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 2.024e-06/0.05844, allocations: 3.984 kB / 347.4 MB, free: 15.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.000635/0.05908, allocations: 386.5 kB / 347.8 MB, free: 14.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.05921, allocations: 482.5 kB / 348.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.05932, allocations: 194.8 kB / 348.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.05934, allocations: 33.88 kB / 348.5 MB, free: 14.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.05941, allocations: 196.1 kB / 348.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/0.05946, allocations: 107.1 kB / 348.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.745e-05/0.05953, allocations: 86.09 kB / 348.8 MB, free: 13.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.509e-05/0.0596, allocations: 330.8 kB / 349.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-05/0.05964, allocations: 36.97 kB / 349.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.05977, allocations: 283.4 kB / 349.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006334/0.06041, allocations: 413.9 kB / 349.9 MB, free: 12.37 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.06041, allocations: 4 kB / 349.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002538/0.06067, allocations: 309.6 kB / 350.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.06068, allocations: 8 kB / 350.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.06069, allocations: 8 kB / 350.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.0607, allocations: 12 kB / 350.2 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.06088, allocations: 123.7 kB / 350.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.06089, allocations: 15.94 kB / 350.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.06101, allocations: 51.62 kB / 350.4 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.06104, allocations: 27.98 kB / 350.4 MB, free: 11.81 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 54 * 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 8.133e-05/0.06112, allocations: 148.5 kB / 350.6 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.06115, allocations: 35.91 kB / 350.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000482/0.06164, allocations: 0.6076 MB / 351.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.06164, allocations: 7.984 kB / 351.2 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.06165, allocations: 4 kB / 351.2 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.06165, allocations: 0 / 351.2 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004594/0.06211, allocations: 0.6252 MB / 351.8 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.06212, allocations: 4 kB / 351.8 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.267e-05/0.06218, allocations: 35.98 kB / 351.9 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.213e-05/0.0622, allocations: 19.84 kB / 351.9 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.06221, allocations: 4 kB / 351.9 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.06222, allocations: 8 kB / 351.9 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.06222, allocations: 16.05 kB / 351.9 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.06222, allocations: 4 kB / 351.9 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.06243, allocations: 363.6 kB / 352.3 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/0.06248, allocations: 51.56 kB / 352.3 MB, free: 9.758 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.06259, allocations: 11.98 kB / 352.4 MB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.06262, allocations: 19.86 kB / 352.4 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.06263, allocations: 12 kB / 352.4 MB, free: 9.715 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001203/0.06275, allocations: 172.4 kB / 352.5 MB, free: 9.543 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06275, allocations: 0 / 352.5 MB, free: 9.543 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008554/0.06361, allocations: 430.6 kB / 353 MB, free: 9.121 MB / 346.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0008767/0.06448, allocations: 0.6881 MB / 353.7 MB, free: 8.422 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.06467, allocations: 193 kB / 353.8 MB, free: 8.234 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/0.06468, allocations: 8 kB / 353.9 MB, free: 8.227 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.689e-05/0.06474, allocations: 76.73 kB / 353.9 MB, free: 8.148 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000558/0.0653, allocations: 0.6982 MB / 354.6 MB, free: 7.363 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8771/0.9424, allocations: 0.5559 GB / 0.9022 GB, free: 35.49 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.084e-05/0.9425, allocations: 105.5 kB / 0.9023 GB, free: 35.37 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000314/0.9428, allocations: 161.5 kB / 0.9025 GB, free: 35.24 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.9429, allocations: 123.3 kB / 0.9026 GB, free: 35.12 MB / 458.7 MB Notification: Performance of SimCode: time 1.924e-06/0.9429, allocations: 0 / 0.9026 GB, free: 35.12 MB / 458.7 MB Notification: Performance of Templates: time 0.0132/0.9561, allocations: 15.97 MB / 0.9182 GB, free: 19.38 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.277948400937021]