Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001427/0.001427, allocations: 75.75 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001286/0.001286, allocations: 166.2 kB / 24.99 MB, free: 8.883 MB / 18.57 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 1.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.273/0.273, allocations: 32.81 MB / 294.6 MB, free: 1.285 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 376.1 MB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.364e-05/2.555e-05, allocations: 2.312 kB / 376.1 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01172/0.01174, allocations: 11.27 MB / 387.3 MB, free: 9.637 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00982/0.02156, allocations: 11.73 MB / 399 MB, free: 13.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.02174, allocations: 0 / 399 MB, free: 13.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003254/0.02207, allocations: 79.38 kB / 399.1 MB, free: 13.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00875/0.03082, allocations: 3.17 MB / 402.3 MB, free: 10.6 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.03114, allocations: 151.7 kB / 402.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00426/0.0354, allocations: 4.017 MB / 406.5 MB, free: 6.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.083e-05/0.03548, allocations: 8.594 kB / 406.5 MB, free: 6.418 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.03575, allocations: 207.5 kB / 406.7 MB, free: 6.215 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006786/0.04253, allocations: 7.309 MB / 414 MB, free: 14.9 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.117e-05/0.04259, allocations: 8 kB / 414 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003983/0.04657, allocations: 2.036 MB / 416 MB, free: 12.85 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.599e-05/0.04664, allocations: 47.75 kB / 416.1 MB, free: 12.8 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.04675, allocations: 91.83 kB / 416.2 MB, free: 12.71 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002961/0.04972, allocations: 1.749 MB / 417.9 MB, free: 10.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.04972, allocations: 4 kB / 417.9 MB, free: 10.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.04972, allocations: 0 / 417.9 MB, free: 10.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.04973, allocations: 0 / 417.9 MB, free: 10.96 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.001676/0.05141, allocations: 0.9695 MB / 418.9 MB, free: 9.949 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.05146, allocations: 12.03 kB / 418.9 MB, free: 9.938 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005271/0.05199, allocations: 148.3 kB / 419 MB, free: 9.793 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.05225, allocations: 192.3 kB / 419.2 MB, free: 9.578 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.05227, allocations: 25.02 kB / 419.3 MB, free: 9.555 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.05231, allocations: 32.38 kB / 419.3 MB, free: 9.523 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006554/0.05296, allocations: 468 kB / 419.7 MB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.05298, allocations: 4.125 kB / 419.7 MB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.05301, allocations: 20.12 kB / 419.8 MB, free: 8.984 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.05302, allocations: 4 kB / 419.8 MB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006263/0.05364, allocations: 466.4 kB / 420.2 MB, free: 8.523 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003983/0.05763, allocations: 3.211 MB / 423.4 MB, free: 5.234 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003793/0.05801, allocations: 155.6 kB / 423.6 MB, free: 5.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.421e-05/0.05807, allocations: 52.36 kB / 423.6 MB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01222/0.07029, allocations: 7.802 MB / 431.4 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005259/0.07081, allocations: 371.7 kB / 431.8 MB, free: 12.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.385e-06/0.07082, allocations: 0 / 431.8 MB, free: 12.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009858/0.0718, allocations: 454 kB / 432.2 MB, free: 12.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/0.07196, allocations: 474.6 kB / 432.7 MB, free: 11.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.07213, allocations: 254.1 kB / 433 MB, free: 11.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.07215, allocations: 33.7 kB / 433 MB, free: 11.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.973e-05/0.07225, allocations: 242.8 kB / 433.2 MB, free: 11.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.733e-05/0.07231, allocations: 107.2 kB / 433.3 MB, free: 11.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.367e-05/0.07239, allocations: 100.2 kB / 433.4 MB, free: 10.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.07251, allocations: 0.5001 MB / 433.9 MB, free: 10.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.691e-05/0.07258, allocations: 52.95 kB / 434 MB, free: 10.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.07282, allocations: 409.7 kB / 434.4 MB, free: 9.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.07317, allocations: 0.5112 MB / 434.9 MB, free: 9.145 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.07318, allocations: 0 / 434.9 MB, free: 9.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004331/0.07361, allocations: 396.7 kB / 435.3 MB, free: 8.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.07363, allocations: 8.938 kB / 435.3 MB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.07364, allocations: 8 kB / 435.3 MB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.07366, allocations: 12 kB / 435.3 MB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.07385, allocations: 111.8 kB / 435.4 MB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.07387, allocations: 15.94 kB / 435.4 MB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.07401, allocations: 51.62 kB / 435.5 MB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.07405, allocations: 31.98 kB / 435.5 MB, free: 8.516 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.0001049/0.07416, allocations: 196.3 kB / 435.7 MB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.07421, allocations: 35.84 kB / 435.7 MB, free: 8.277 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006569/0.07487, allocations: 0.6526 MB / 436.4 MB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.07488, allocations: 4 kB / 436.4 MB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.07488, allocations: 4 kB / 436.4 MB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.07489, allocations: 0 / 436.4 MB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000667/0.07556, allocations: 0.7771 MB / 437.2 MB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.07556, allocations: 4 kB / 437.2 MB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.09e-05/0.07563, allocations: 31.92 kB / 437.2 MB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.07564, allocations: 4 kB / 437.2 MB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.07565, allocations: 8 kB / 437.2 MB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.07565, allocations: 4 kB / 437.2 MB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.07566, allocations: 11.94 kB / 437.2 MB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.07595, allocations: 426.9 kB / 437.7 MB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.07599, allocations: 39.88 kB / 437.7 MB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.694e-05/0.07604, allocations: 43.56 kB / 437.7 MB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.07616, allocations: 15.98 kB / 437.8 MB, free: 6.105 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.07619, allocations: 19.92 kB / 437.8 MB, free: 6.086 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.0762, allocations: 11.98 kB / 437.8 MB, free: 6.074 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002112/0.07641, allocations: 314.8 kB / 438.1 MB, free: 5.766 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.07641, allocations: 0 / 438.1 MB, free: 5.766 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001087/0.0775, allocations: 426.6 kB / 438.5 MB, free: 5.348 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.001037/0.07854, allocations: 0.6773 MB / 439.2 MB, free: 4.656 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004263/0.07896, allocations: 222.5 kB / 439.4 MB, free: 4.438 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.07897, allocations: 0 / 439.4 MB, free: 4.438 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.07e-05/0.07906, allocations: 71.53 kB / 439.5 MB, free: 4.363 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.07955, allocations: 154.5 kB / 439.6 MB, free: 4.215 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.199/1.279, allocations: 0.579 GB / 1.008 GB, free: 126 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.608e-05/1.279, allocations: 106.2 kB / 1.008 GB, free: 125.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003644/1.279, allocations: 158 kB / 1.009 GB, free: 125.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.449e-05/1.279, allocations: 43.11 kB / 1.009 GB, free: 125.8 MB / 458.7 MB Notification: Performance of SimCode: time 2.074e-06/1.279, allocations: 0 / 1.009 GB, free: 125.8 MB / 458.7 MB Notification: Performance of Templates: time 0.01504/1.294, allocations: 14.61 MB / 1.023 GB, free: 116.4 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.60361840412952]