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.0009367/0.0009367, allocations: 95.5 kB / 21.2 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.000979/0.000979, allocations: 160.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 0.947/0.947, allocations: 177 MB / 204.8 MB, free: 5.562 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.2479/0.2479, allocations: 34.86 MB / 296.3 MB, free: 0.5469 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.303e-06/1.303e-06, allocations: 0 / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.224e-05, allocations: 3.016 kB / 378.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.009846/0.009868, allocations: 11.29 MB / 390.1 MB, free: 6.695 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008273/0.01814, allocations: 11.76 MB / 401.9 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.01825, allocations: 4 kB / 401.9 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.01856, allocations: 71.45 kB / 401.9 MB, free: 10.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005785/0.02434, allocations: 3.213 MB / 405.2 MB, free: 7.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.0246, allocations: 151.7 kB / 405.3 MB, free: 7.441 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003342/0.02794, allocations: 4.048 MB / 409.3 MB, free: 3.387 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.02798, allocations: 12.59 kB / 409.4 MB, free: 3.371 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.02815, allocations: 203.5 kB / 409.6 MB, free: 3.172 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005802/0.03395, allocations: 7.328 MB / 416.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.03398, allocations: 12 kB / 416.9 MB, free: 11.82 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002942/0.03692, allocations: 2.04 MB / 418.9 MB, free: 9.781 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.023e-05/0.03699, allocations: 47.73 kB / 419 MB, free: 9.734 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.905e-05/0.03708, allocations: 95.78 kB / 419.1 MB, free: 9.641 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.03881, allocations: 1.746 MB / 420.8 MB, free: 7.891 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.03881, allocations: 0 / 420.8 MB, free: 7.891 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.03881, allocations: 0 / 420.8 MB, free: 7.891 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.03882, allocations: 4 kB / 420.8 MB, free: 7.887 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.00124/0.04006, allocations: 0.9657 MB / 421.8 MB, free: 6.883 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.04009, allocations: 11.97 kB / 421.8 MB, free: 6.871 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003924/0.04049, allocations: 156.3 kB / 422 MB, free: 6.719 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.0407, allocations: 192.2 kB / 422.1 MB, free: 6.504 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.04071, allocations: 21.03 kB / 422.2 MB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.04074, allocations: 28.38 kB / 422.2 MB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005594/0.0413, allocations: 472 kB / 422.7 MB, free: 5.938 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.04131, allocations: 192 / 422.7 MB, free: 5.938 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.04134, allocations: 16.12 kB / 422.7 MB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.04135, allocations: 8 kB / 422.7 MB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005414/0.04189, allocations: 470.3 kB / 423.1 MB, free: 5.453 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003428/0.04532, allocations: 3.207 MB / 426.3 MB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.04563, allocations: 155.6 kB / 426.5 MB, free: 2.004 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.342e-05/0.04569, allocations: 56.3 kB / 426.6 MB, free: 1.945 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01124/0.05693, allocations: 7.806 MB / 434.4 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004088/0.05734, allocations: 371.7 kB / 434.7 MB, free: 9.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.212e-06/0.05734, allocations: 0 / 434.7 MB, free: 9.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008222/0.05816, allocations: 450.1 kB / 435.2 MB, free: 9.215 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.05831, allocations: 478.6 kB / 435.6 MB, free: 8.637 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.05847, allocations: 254.1 kB / 435.9 MB, free: 8.371 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.05849, allocations: 33.7 kB / 435.9 MB, free: 8.332 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.973e-05/0.05858, allocations: 242.8 kB / 436.1 MB, free: 8.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.05863, allocations: 103.2 kB / 436.2 MB, free: 7.988 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.12e-05/0.05871, allocations: 107.7 kB / 436.4 MB, free: 7.875 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.05882, allocations: 0.4966 MB / 436.8 MB, free: 7.367 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.613e-05/0.05888, allocations: 56.95 kB / 436.9 MB, free: 7.312 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.0591, allocations: 405.7 kB / 437.3 MB, free: 6.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.05944, allocations: 0.5077 MB / 437.8 MB, free: 6.078 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.05945, allocations: 8 kB / 437.8 MB, free: 6.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004129/0.05986, allocations: 388.8 kB / 438.2 MB, free: 5.684 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.05988, allocations: 8 kB / 438.2 MB, free: 5.676 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.05989, allocations: 16.81 kB / 438.2 MB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.05991, allocations: 11.94 kB / 438.2 MB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.06009, allocations: 115.8 kB / 438.3 MB, free: 5.535 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.0601, allocations: 15.94 kB / 438.4 MB, free: 5.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.06023, allocations: 47.62 kB / 438.4 MB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.06026, allocations: 35.98 kB / 438.4 MB, free: 5.438 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 9.134e-05/0.06035, allocations: 192.3 kB / 438.6 MB, free: 5.238 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/0.06041, allocations: 39.91 kB / 438.7 MB, free: 5.199 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005379/0.06095, allocations: 0.6508 MB / 439.3 MB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.06096, allocations: 4 kB / 439.3 MB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.06096, allocations: 0 / 439.3 MB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.06097, allocations: 7.984 kB / 439.3 MB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005645/0.06153, allocations: 0.7693 MB / 440.1 MB, free: 3.672 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.06154, allocations: 0 / 440.1 MB, free: 3.672 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.322e-05/0.0616, allocations: 35.92 kB / 440.1 MB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.0616, allocations: 4 kB / 440.1 MB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.06161, allocations: 4 kB / 440.1 MB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.06162, allocations: 4 kB / 440.1 MB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.06162, allocations: 4 kB / 440.2 MB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.06189, allocations: 428.3 kB / 440.6 MB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.06191, allocations: 31.88 kB / 440.6 MB, free: 3.109 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.06195, allocations: 47.56 kB / 440.6 MB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.06207, allocations: 15.98 kB / 440.7 MB, free: 3.047 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.0621, allocations: 23.86 kB / 440.7 MB, free: 3.023 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.06211, allocations: 8 kB / 440.7 MB, free: 3.016 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002034/0.06231, allocations: 322.8 kB / 441 MB, free: 2.699 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.06231, allocations: 0 / 441 MB, free: 2.699 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000778/0.06309, allocations: 430.6 kB / 441.4 MB, free: 2.277 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.0009325/0.06402, allocations: 0.6692 MB / 442.1 MB, free: 1.594 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.06427, allocations: 217.6 kB / 442.3 MB, free: 1.383 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.06427, allocations: 0 / 442.3 MB, free: 1.383 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.112e-05/0.06434, allocations: 75.72 kB / 442.4 MB, free: 1.305 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.06478, allocations: 146.4 kB / 442.5 MB, free: 1.164 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.115/1.18, allocations: 0.5807 GB / 1.013 GB, free: 95.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.979e-05/1.18, allocations: 101.2 kB / 1.013 GB, free: 95.23 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003398/1.18, allocations: 154.3 kB / 1.013 GB, free: 95.18 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.222e-05/1.18, allocations: 38.38 kB / 1.013 GB, free: 95.17 MB / 458.7 MB Notification: Performance of SimCode: time 2.044e-06/1.18, allocations: 0 / 1.013 GB, free: 95.17 MB / 458.7 MB Notification: Performance of Templates: time 0.01628/1.197, allocations: 14.49 MB / 1.027 GB, free: 83.05 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.320203545037657]