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.001385/0.001385, 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.001169/0.001169, allocations: 161.3 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.9837/0.9837, allocations: 177 MB / 205.2 MB, free: 5.461 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.2618/0.2618, allocations: 34.87 MB / 296.6 MB, free: 0.5234 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 1.954e-06/1.954e-06, allocations: 0 / 326 MB, free: 7.141 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.611e-05, allocations: 2.312 kB / 326 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01302/0.01304, allocations: 11.27 MB / 337.2 MB, free: 11.81 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008165/0.02121, allocations: 11.74 MB / 349 MB, free: 36 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.02132, allocations: 0 / 349 MB, free: 36 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.02161, allocations: 71.45 kB / 349 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007145/0.02875, allocations: 3.252 MB / 352.3 MB, free: 12.7 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.02906, allocations: 155.6 kB / 352.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003247/0.0323, allocations: 4.018 MB / 356.5 MB, free: 8.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.794e-05/0.03236, allocations: 18.56 kB / 356.5 MB, free: 8.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.03255, allocations: 203.5 kB / 356.7 MB, free: 8.301 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005048/0.0376, allocations: 7.289 MB / 364 MB, free: 1.004 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.803e-05/0.03764, allocations: 8 kB / 364 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003541/0.04118, allocations: 2.048 MB / 366 MB, free: 14.95 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.141e-05/0.04125, allocations: 51.75 kB / 366.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.04135, allocations: 87.83 kB / 366.2 MB, free: 14.81 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002819/0.04417, allocations: 1.761 MB / 367.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.04418, allocations: 0 / 367.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.04418, allocations: 0 / 367.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.04418, allocations: 0 / 367.9 MB, free: 13.04 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001365/0.04555, allocations: 0.8566 MB / 368.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.04558, allocations: 16.02 kB / 368.8 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004075/0.04599, allocations: 156.4 kB / 368.9 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.04618, allocations: 181.4 kB / 369.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.0462, allocations: 17.03 kB / 369.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.04623, allocations: 32.38 kB / 369.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000466/0.04669, allocations: 437.2 kB / 369.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.0467, allocations: 192 / 369.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.04672, allocations: 16.12 kB / 369.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.04673, allocations: 8 kB / 369.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000448/0.04718, allocations: 383.7 kB / 370 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003494/0.05067, allocations: 2.867 MB / 372.9 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.05093, allocations: 147 kB / 373 MB, free: 7.797 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.803e-05/0.05097, allocations: 41.53 kB / 373 MB, free: 7.754 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009799/0.06077, allocations: 7.259 MB / 380.3 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003781/0.06115, allocations: 313.8 kB / 380.6 MB, free: 104 kB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 1.653e-06/0.06115, allocations: 0 / 380.6 MB, free: 104 kB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006571/0.06181, allocations: 383.2 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.06193, allocations: 478.6 kB / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.06204, allocations: 202.8 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.06206, allocations: 29.7 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.06213, allocations: 200.3 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.06218, allocations: 99.14 kB / 382 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.944e-05/0.06225, allocations: 90.09 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.993e-05/0.06232, allocations: 330.8 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.721e-05/0.06235, allocations: 36.97 kB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.06249, allocations: 291.3 kB / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.06272, allocations: 390.3 kB / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.06273, allocations: 0 / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002739/0.063, allocations: 309.7 kB / 383.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.06302, allocations: 8 kB / 383.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.06303, allocations: 8 kB / 383.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.06304, allocations: 12 kB / 383.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.06321, allocations: 107.8 kB / 383.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.06322, allocations: 15.94 kB / 383.5 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.06335, allocations: 47.62 kB / 383.6 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.06338, allocations: 27.98 kB / 383.6 MB, free: 12.7 MB / 362.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 9.451e-05/0.06347, allocations: 152.4 kB / 383.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.06351, allocations: 35.91 kB / 383.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004902/0.064, allocations: 0.5907 MB / 384.4 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.06401, allocations: 12.05 kB / 384.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.06402, allocations: 4 kB / 384.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.06402, allocations: 0 / 384.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004831/0.0645, allocations: 0.6225 MB / 385 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.06451, allocations: 3.938 kB / 385 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.06456, allocations: 31.98 kB / 385.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.06457, allocations: 4 kB / 385.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.06458, allocations: 4 kB / 385.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.06458, allocations: 7.938 kB / 385.1 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.06458, allocations: 12.08 kB / 385.1 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.0648, allocations: 367.6 kB / 385.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.06482, allocations: 35.77 kB / 385.5 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.06486, allocations: 51.56 kB / 385.5 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.06497, allocations: 12 kB / 385.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.06499, allocations: 23.84 kB / 385.6 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.065, allocations: 8 kB / 385.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.06512, allocations: 172.4 kB / 385.7 MB, free: 10.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06512, allocations: 0 / 385.7 MB, free: 10.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008164/0.06594, allocations: 438.6 kB / 386.2 MB, free: 9.992 MB / 362.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.0008892/0.06683, allocations: 0.6684 MB / 386.8 MB, free: 9.312 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.06703, allocations: 196.8 kB / 387 MB, free: 9.121 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/0.06704, allocations: 11.94 kB / 387 MB, free: 9.109 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.778e-05/0.06709, allocations: 56.84 kB / 387.1 MB, free: 9.051 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.06747, allocations: 137.3 kB / 387.2 MB, free: 8.918 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9005/0.968, allocations: 0.5581 GB / 0.9362 GB, free: 4.781 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.834e-05/0.9681, allocations: 101.2 kB / 0.9363 GB, free: 4.664 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003526/0.9684, allocations: 163.8 kB / 0.9365 GB, free: 4.535 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.9686, allocations: 127.3 kB / 0.9366 GB, free: 4.41 MB / 458.7 MB Notification: Performance of SimCode: time 3.447e-06/0.9686, allocations: 0 / 0.9366 GB, free: 4.41 MB / 458.7 MB Notification: Performance of Templates: time 0.1595/1.128, allocations: 16.87 MB / 0.9531 GB, free: 151.3 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: 4.989699071273208]