Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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.001841/0.001841, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.001896/0.001896, allocations: 156.8 kB / 24.27 MB, free: 156 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.592/1.592, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.4397/0.4397, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] 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_pT,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_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,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_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 377.3 MB, free: 2.855 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.661e-05/3.891e-05, allocations: 2.312 kB / 377.3 MB, free: 2.852 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01674/0.01678, allocations: 11.24 MB / 388.5 MB, free: 7.566 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01698/0.03376, allocations: 11.73 MB / 400.2 MB, free: 11.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.03396, allocations: 0 / 400.2 MB, free: 11.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.03433, allocations: 67.52 kB / 400.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01252/0.04685, allocations: 3.173 MB / 403.5 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004924/0.04734, allocations: 151.7 kB / 403.6 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007576/0.05492, allocations: 4.013 MB / 407.6 MB, free: 4.371 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.085e-05/0.05499, allocations: 8.594 kB / 407.6 MB, free: 4.359 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000334/0.05532, allocations: 207.4 kB / 407.8 MB, free: 4.156 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01274/0.06807, allocations: 7.305 MB / 415.1 MB, free: 12.84 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.221e-05/0.06815, allocations: 12 kB / 415.2 MB, free: 12.83 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006705/0.07485, allocations: 2.278 MB / 417.4 MB, free: 10.55 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.07498, allocations: 43.83 kB / 417.5 MB, free: 10.51 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000251/0.07523, allocations: 99.75 kB / 417.6 MB, free: 10.41 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00632/0.08155, allocations: 1.987 MB / 419.6 MB, free: 8.418 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.08156, allocations: 4 kB / 419.6 MB, free: 8.414 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.08156, allocations: 0 / 419.6 MB, free: 8.414 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.08157, allocations: 0 / 419.6 MB, free: 8.414 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.002552/0.08412, allocations: 1.008 MB / 420.6 MB, free: 7.367 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.08418, allocations: 12.03 kB / 420.6 MB, free: 7.355 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007496/0.08493, allocations: 148.3 kB / 420.7 MB, free: 7.211 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.08528, allocations: 196.2 kB / 420.9 MB, free: 6.992 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.873e-05/0.08533, allocations: 33.02 kB / 420.9 MB, free: 6.961 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.835e-05/0.08539, allocations: 32.38 kB / 421 MB, free: 6.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.08643, allocations: 492 kB / 421.5 MB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.08645, allocations: 192 / 421.5 MB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.362e-05/0.08649, allocations: 20.12 kB / 421.5 MB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.08651, allocations: 8 kB / 421.5 MB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.08775, allocations: 0.5599 MB / 422 MB, free: 5.805 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007215/0.09496, allocations: 2.962 MB / 425 MB, free: 2.758 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006673/0.09563, allocations: 211.8 kB / 425.2 MB, free: 2.539 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.09577, allocations: 76.28 kB / 425.3 MB, free: 2.461 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3227/0.4185, allocations: 22.21 MB / 447.5 MB, free: 105.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007072/0.4192, allocations: 400.3 kB / 447.9 MB, free: 105.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.354e-06/0.4192, allocations: 0 / 447.9 MB, free: 105.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002448/0.4217, allocations: 0.9281 MB / 448.8 MB, free: 105.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.4218, allocations: 482.3 kB / 449.3 MB, free: 104.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.4219, allocations: 235.8 kB / 449.5 MB, free: 104.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.4219, allocations: 32.55 kB / 449.6 MB, free: 104.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.402e-05/0.422, allocations: 217.2 kB / 449.8 MB, free: 104.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.637e-05/0.4221, allocations: 132.6 kB / 449.9 MB, free: 104.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.4222, allocations: 100.4 kB / 450 MB, free: 104.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.868e-05/0.4223, allocations: 0.5091 MB / 450.5 MB, free: 103.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.4224, allocations: 62.81 kB / 450.6 MB, free: 103.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.4226, allocations: 424.5 kB / 451 MB, free: 103.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004255/0.423, allocations: 0.5315 MB / 451.5 MB, free: 102.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.423, allocations: 2.875 kB / 451.5 MB, free: 102.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006169/0.4236, allocations: 425.8 kB / 451.9 MB, free: 102.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.4237, allocations: 8.562 kB / 451.9 MB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.4237, allocations: 12.81 kB / 451.9 MB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.224e-05/0.4237, allocations: 15.8 kB / 452 MB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/0.4255, allocations: 355.9 kB / 452.3 MB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004631/0.4259, allocations: 1.804 MB / 454.1 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.4262, allocations: 18.97 kB / 454.1 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.631e-05/0.4262, allocations: 25.81 kB / 454.2 MB, free: 100.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.4263, allocations: 211.7 kB / 454.4 MB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.634e-05/0.4264, allocations: 44.98 kB / 454.4 MB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009015/0.4273, allocations: 0.7712 MB / 455.2 MB, free: 99.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.4274, allocations: 8.953 kB / 455.2 MB, free: 99.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.4274, allocations: 2.938 kB / 455.2 MB, free: 99.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.4274, allocations: 6.25 kB / 455.2 MB, free: 99.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000983/0.4283, allocations: 0.9063 MB / 456.1 MB, free: 99.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.4284, allocations: 5 kB / 456.1 MB, free: 99.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009819/0.4293, allocations: 144.6 kB / 456.2 MB, free: 99.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.4293, allocations: 2.812 kB / 456.3 MB, free: 99.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.4294, allocations: 13.25 kB / 456.3 MB, free: 99.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002089/0.4296, allocations: 0.9026 MB / 457.2 MB, free: 98.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4296, allocations: 3.062 kB / 457.2 MB, free: 98.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005216/0.4301, allocations: 0.5397 MB / 457.7 MB, free: 98.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.269e-05/0.4301, allocations: 34.7 kB / 457.7 MB, free: 98.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.621e-05/0.4302, allocations: 45.19 kB / 457.8 MB, free: 98.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.4304, allocations: 12.94 kB / 457.8 MB, free: 98.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.4305, allocations: 29.53 kB / 457.8 MB, free: 98.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.4305, allocations: 16.53 kB / 457.8 MB, free: 98.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002594/0.4308, allocations: 329.1 kB / 458.2 MB, free: 97.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4308, allocations: 4 kB / 458.2 MB, free: 97.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00142/0.4322, allocations: 471.1 kB / 458.6 MB, free: 97.71 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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001292/0.4335, allocations: 0.7421 MB / 459.4 MB, free: 97.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.4348, allocations: 378.6 kB / 459.7 MB, free: 97.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.4348, allocations: 3.25 kB / 459.7 MB, free: 97.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006881/0.4355, allocations: 197.3 kB / 459.9 MB, free: 97.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007965/0.4363, allocations: 156.5 kB / 460.1 MB, free: 97.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.192/1.629, allocations: 0.537 GB / 0.9863 GB, free: 94.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/1.629, allocations: 224.3 kB / 0.9865 GB, free: 94.37 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003968/1.629, allocations: 168.7 kB / 0.9866 GB, free: 94.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.643e-05/1.629, allocations: 36.48 kB / 0.9867 GB, free: 94.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.413e-06/1.629, allocations: 4 kB / 0.9867 GB, free: 94.2 MB / 442.7 MB Notification: Performance of Templates: time 0.01945/1.649, allocations: 16.12 MB / 1.002 GB, free: 78.27 MB / 442.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.757587702013552]