Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.001214/0.001214, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.001409/0.001409, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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 1.031/1.031, allocations: 177 MB / 204.9 MB, free: 5.57 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.2664/0.2664, allocations: 34.87 MB / 296.3 MB, free: 0.543 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.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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.108e-05/3.329e-05, allocations: 2.312 kB / 378.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.02457/0.0246, allocations: 11.29 MB / 390.1 MB, free: 6.688 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.03681, allocations: 11.77 MB / 401.9 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000268/0.03708, allocations: 0 / 401.9 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000368/0.03745, allocations: 75.41 kB / 401.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008862/0.04631, allocations: 3.193 MB / 405.1 MB, free: 7.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.04666, allocations: 163.7 kB / 405.3 MB, free: 7.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003849/0.05051, allocations: 4.06 MB / 409.4 MB, free: 3.367 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.846e-05/0.05057, allocations: 12.59 kB / 409.4 MB, free: 3.352 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.05083, allocations: 199.5 kB / 409.6 MB, free: 3.156 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006144/0.05697, allocations: 7.355 MB / 416.9 MB, free: 11.79 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.174e-05/0.05702, allocations: 8 kB / 416.9 MB, free: 11.79 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003971/0.06099, allocations: 2.048 MB / 419 MB, free: 9.734 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.649e-05/0.06107, allocations: 47.77 kB / 419 MB, free: 9.688 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.06118, allocations: 87.83 kB / 419.1 MB, free: 9.602 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003696/0.06488, allocations: 1.761 MB / 420.9 MB, free: 7.836 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.06489, allocations: 0 / 420.9 MB, free: 7.836 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.06489, allocations: 0 / 420.9 MB, free: 7.836 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.06489, allocations: 0 / 420.9 MB, free: 7.836 MB / 394.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.001803/0.0667, allocations: 0.9579 MB / 421.8 MB, free: 6.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.06674, allocations: 12.03 kB / 421.8 MB, free: 6.828 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000512/0.06725, allocations: 152.2 kB / 422 MB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.06752, allocations: 188.3 kB / 422.2 MB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.06754, allocations: 25.03 kB / 422.2 MB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.06758, allocations: 28.38 kB / 422.2 MB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000642/0.06822, allocations: 479.9 kB / 422.7 MB, free: 5.891 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.06823, allocations: 4.125 kB / 422.7 MB, free: 5.887 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.06826, allocations: 16.12 kB / 422.7 MB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.06828, allocations: 8 kB / 422.7 MB, free: 5.863 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005783/0.06885, allocations: 466.4 kB / 423.2 MB, free: 5.406 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004011/0.07286, allocations: 3.199 MB / 426.4 MB, free: 2.129 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/0.0732, allocations: 159.6 kB / 426.5 MB, free: 1.961 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.803e-05/0.07326, allocations: 52.36 kB / 426.6 MB, free: 1.906 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01183/0.08509, allocations: 7.806 MB / 434.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005056/0.0856, allocations: 367.7 kB / 434.8 MB, free: 9.625 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.976e-06/0.0856, allocations: 0 / 434.8 MB, free: 9.625 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009043/0.0865, allocations: 454.3 kB / 435.2 MB, free: 9.176 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.08665, allocations: 482.6 kB / 435.7 MB, free: 8.594 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.08682, allocations: 250.2 kB / 435.9 MB, free: 8.332 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.08685, allocations: 33.7 kB / 435.9 MB, free: 8.293 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.08695, allocations: 246.8 kB / 436.2 MB, free: 8.047 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.499e-05/0.08702, allocations: 107.2 kB / 436.3 MB, free: 7.941 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.036e-05/0.08711, allocations: 95.8 kB / 436.4 MB, free: 7.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.08724, allocations: 0.504 MB / 436.9 MB, free: 7.324 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.008e-05/0.08731, allocations: 44.95 kB / 436.9 MB, free: 7.281 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.08756, allocations: 413.9 kB / 437.3 MB, free: 6.711 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.08794, allocations: 0.5111 MB / 437.8 MB, free: 6.035 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.08795, allocations: 4 kB / 437.8 MB, free: 6.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004523/0.0884, allocations: 397.4 kB / 438.2 MB, free: 5.637 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.08842, allocations: 11.98 kB / 438.2 MB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.08843, allocations: 8 kB / 438.3 MB, free: 5.617 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.08846, allocations: 12 kB / 438.3 MB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.08865, allocations: 104.5 kB / 438.4 MB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.08866, allocations: 15.94 kB / 438.4 MB, free: 5.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.08883, allocations: 59.61 kB / 438.4 MB, free: 5.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.08886, allocations: 28 kB / 438.5 MB, free: 5.402 MB / 410.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 0.0001253/0.08899, allocations: 196.3 kB / 438.7 MB, free: 5.199 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.08905, allocations: 39.83 kB / 438.7 MB, free: 5.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006421/0.08969, allocations: 0.6466 MB / 439.3 MB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.0897, allocations: 4 kB / 439.4 MB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.08971, allocations: 4 kB / 439.4 MB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.08972, allocations: 3.984 kB / 439.4 MB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007513/0.09047, allocations: 0.7654 MB / 440.1 MB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.09048, allocations: 8.031 kB / 440.1 MB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.685e-05/0.09055, allocations: 31.92 kB / 440.2 MB, free: 3.602 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.09055, allocations: 4 kB / 440.2 MB, free: 3.598 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.09057, allocations: 11.98 kB / 440.2 MB, free: 3.586 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.09057, allocations: 7.984 kB / 440.2 MB, free: 3.578 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.09057, allocations: 4 kB / 440.2 MB, free: 3.574 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.09091, allocations: 424.3 kB / 440.6 MB, free: 3.098 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.09095, allocations: 27.73 kB / 440.6 MB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.091, allocations: 51.56 kB / 440.7 MB, free: 3.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.09112, allocations: 15.98 kB / 440.7 MB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.09115, allocations: 19.91 kB / 440.7 MB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.09117, allocations: 12 kB / 440.7 MB, free: 2.973 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002176/0.09138, allocations: 318.8 kB / 441 MB, free: 2.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.09138, allocations: 0 / 441 MB, free: 2.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001108/0.09249, allocations: 430.6 kB / 441.5 MB, free: 2.238 MB / 410.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.001174/0.09367, allocations: 0.673 MB / 442.1 MB, free: 1.551 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003429/0.09401, allocations: 218.1 kB / 442.3 MB, free: 1.336 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.09401, allocations: 0 / 442.3 MB, free: 1.336 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.759e-05/0.09409, allocations: 76.47 kB / 442.4 MB, free: 1.258 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/0.09458, allocations: 142.1 kB / 442.6 MB, free: 1.121 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.146/1.24, allocations: 0.5807 GB / 1.013 GB, free: 95.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.678e-05/1.24, allocations: 103 kB / 1.013 GB, free: 95.41 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003195/1.241, allocations: 154 kB / 1.013 GB, free: 95.36 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.428e-05/1.241, allocations: 40.75 kB / 1.013 GB, free: 95.35 MB / 458.7 MB Notification: Performance of SimCode: time 1.914e-06/1.241, allocations: 0 / 1.013 GB, free: 95.35 MB / 458.7 MB Notification: Performance of Templates: time 0.01577/1.257, allocations: 17.58 MB / 1.03 GB, free: 79.95 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.400717361830175]