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.0008492/0.0008492, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.0009495/0.0009495, allocations: 165 kB / 25.61 MB, free: 8.578 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.9811/0.9811, allocations: 177 MB / 205.9 MB, free: 4.449 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.1501/0.1501, allocations: 34.87 MB / 297.4 MB, free: 13.35 MB / 282.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.182e-06/1.182e-06, allocations: 0 / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.253e-05, allocations: 7.234 kB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.008646/0.008669, allocations: 11.16 MB / 391.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007221/0.01589, allocations: 11.59 MB / 402.8 MB, free: 15.87 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.463e-05/0.01598, allocations: 0 / 402.8 MB, free: 15.87 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.01627, allocations: 75.52 kB / 402.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006239/0.0225, allocations: 3.2 MB / 406.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.02277, allocations: 155.7 kB / 406.2 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003678/0.02645, allocations: 4.057 MB / 410.3 MB, free: 8.359 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.715e-05/0.02651, allocations: 12.59 kB / 410.3 MB, free: 8.348 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.02671, allocations: 199.5 kB / 410.5 MB, free: 8.152 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005992/0.0327, allocations: 7.344 MB / 417.8 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.03273, allocations: 8 kB / 417.9 MB, free: 0.793 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002695/0.03543, allocations: 2.056 MB / 419.9 MB, free: 14.73 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.321e-05/0.0355, allocations: 43.77 kB / 419.9 MB, free: 14.69 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.852e-05/0.03559, allocations: 95.77 kB / 420 MB, free: 14.6 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.03756, allocations: 1.757 MB / 421.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.03756, allocations: 0 / 421.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.03756, allocations: 3.938 kB / 421.8 MB, free: 12.83 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.03756, allocations: 0 / 421.8 MB, free: 12.83 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.001363/0.03893, allocations: 0.9579 MB / 422.8 MB, free: 11.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.03896, allocations: 16.02 kB / 422.8 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003979/0.03936, allocations: 148.3 kB / 422.9 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.03958, allocations: 196.2 kB / 423.1 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.03959, allocations: 21.03 kB / 423.1 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.03962, allocations: 28.38 kB / 423.2 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/0.04014, allocations: 451.8 kB / 423.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.04015, allocations: 4.188 kB / 423.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.04018, allocations: 16.12 kB / 423.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.04019, allocations: 8 kB / 423.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004734/0.04066, allocations: 400.9 kB / 424 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003292/0.04395, allocations: 3.075 MB / 427.1 MB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.04425, allocations: 147.6 kB / 427.2 MB, free: 7.191 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.053e-05/0.0443, allocations: 52.3 kB / 427.3 MB, free: 7.137 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0108/0.05509, allocations: 7.353 MB / 434.6 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004078/0.0555, allocations: 361 kB / 435 MB, free: 15.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.673e-06/0.0555, allocations: 0 / 435 MB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007766/0.05628, allocations: 439.5 kB / 435.4 MB, free: 14.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.05643, allocations: 478.6 kB / 435.9 MB, free: 14.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.05656, allocations: 254.6 kB / 436.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.05657, allocations: 29.7 kB / 436.2 MB, free: 14.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.05667, allocations: 238.9 kB / 436.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.219e-05/0.05674, allocations: 115.1 kB / 436.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.495e-05/0.05682, allocations: 99.77 kB / 436.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.05694, allocations: 0.504 MB / 437.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.491e-05/0.05699, allocations: 40.95 kB / 437.2 MB, free: 13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.0572, allocations: 401.6 kB / 437.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.05752, allocations: 0.4948 MB / 438 MB, free: 11.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.05753, allocations: 0 / 438 MB, free: 11.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003849/0.05791, allocations: 369.4 kB / 438.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.05793, allocations: 12.22 kB / 438.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.05794, allocations: 12 kB / 438.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.05796, allocations: 12 kB / 438.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.05813, allocations: 103.8 kB / 438.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/0.05814, allocations: 15.94 kB / 438.6 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.05827, allocations: 51.62 kB / 438.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.0583, allocations: 35.92 kB / 438.6 MB, free: 11.17 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 0.0001101/0.05841, allocations: 196.4 kB / 438.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/0.05847, allocations: 39.78 kB / 438.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005275/0.059, allocations: 0.6216 MB / 439.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.059, allocations: 8.203 kB / 439.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.05901, allocations: 8 kB / 439.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.05901, allocations: 0 / 439.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005395/0.05955, allocations: 0.6966 MB / 440.2 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.05956, allocations: 4 kB / 440.2 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.018e-05/0.05962, allocations: 35.92 kB / 440.2 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.05962, allocations: 4 kB / 440.3 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.05963, allocations: 8 kB / 440.3 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.05963, allocations: 0 / 440.3 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.044e-05/0.05964, allocations: 15.92 kB / 440.3 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.05992, allocations: 420.7 kB / 440.7 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/0.05994, allocations: 19.84 kB / 440.7 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.05998, allocations: 47.58 kB / 440.8 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.0601, allocations: 11.98 kB / 440.8 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.06012, allocations: 23.91 kB / 440.8 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.06014, allocations: 8 kB / 440.8 MB, free: 8.855 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001757/0.06031, allocations: 306.7 kB / 441.1 MB, free: 8.555 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06031, allocations: 0 / 441.1 MB, free: 8.555 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007557/0.06107, allocations: 426.6 kB / 441.5 MB, free: 8.137 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.000943/0.06201, allocations: 0.6966 MB / 442.2 MB, free: 7.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002481/0.06226, allocations: 206.1 kB / 442.4 MB, free: 7.227 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.06226, allocations: 0 / 442.4 MB, free: 7.227 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.706e-05/0.06233, allocations: 80.28 kB / 442.5 MB, free: 7.145 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.06278, allocations: 150.2 kB / 442.6 MB, free: 7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.212/1.275, allocations: 0.5807 GB / 1.013 GB, free: 146.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.874e-05/1.275, allocations: 104.6 kB / 1.013 GB, free: 146.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003214/1.275, allocations: 157.4 kB / 1.013 GB, free: 146.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/1.276, allocations: 158.1 kB / 1.013 GB, free: 146.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.723e-06/1.276, allocations: 0.875 kB / 1.013 GB, free: 146.4 MB / 458.7 MB Notification: Performance of Templates: time 0.01603/1.292, allocations: 17.05 MB / 1.03 GB, free: 129.6 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.665807551238686]