Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.0009747/0.0009747, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001084/0.001084, allocations: 160.2 kB / 24.91 MB, free: 8.723 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.9728/0.9728, allocations: 177 MB / 205.2 MB, free: 5.465 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.2961/0.2961, allocations: 34.86 MB / 296.6 MB, free: 0.5156 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.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044e-05/1.149e-05, allocations: 2.859 kB / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3424/0.3424, allocations: 145.5 MB / 471.4 MB, free: 16.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004234/0.3466, allocations: 5.248 MB / 476.7 MB, free: 16.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.723e-05/0.3467, allocations: 3 kB / 476.7 MB, free: 16.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.347, allocations: 57.81 kB / 476.8 MB, free: 16.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002266/0.3492, allocations: 1.269 MB / 478 MB, free: 16.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.3494, allocations: 145.7 kB / 478.2 MB, free: 16.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003873/0.3498, allocations: 420.3 kB / 478.6 MB, free: 16.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.186e-05/0.3498, allocations: 11.36 kB / 478.6 MB, free: 16.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.3501, allocations: 232.5 kB / 478.8 MB, free: 16.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.3503, allocations: 160.1 kB / 479 MB, free: 16.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.3503, allocations: 8.938 kB / 479 MB, free: 16.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.3513, allocations: 0.9933 MB / 480 MB, free: 16.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.812e-05/0.3514, allocations: 52.73 kB / 480 MB, free: 16.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.315e-05/0.3515, allocations: 80.97 kB / 480.1 MB, free: 16.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008754/0.3524, allocations: 0.9326 MB / 481 MB, free: 16.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3524, allocations: 2.578 kB / 481 MB, free: 16.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3524, allocations: 0 / 481 MB, free: 16.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3524, allocations: 0 / 481 MB, free: 16.03 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007997/0.3532, allocations: 0.592 MB / 481.6 MB, free: 15.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.3532, allocations: 8.781 kB / 481.6 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003542/0.3568, allocations: 0.7711 MB / 482.4 MB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.357, allocations: 163.5 kB / 482.6 MB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.452e-05/0.3571, allocations: 225 kB / 482.8 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.231e-05/0.3571, allocations: 29.17 kB / 482.8 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004968/0.3576, allocations: 0.6667 MB / 483.5 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3577, allocations: 2.281 kB / 483.5 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/0.3577, allocations: 12.09 kB / 483.5 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.3577, allocations: 5.938 kB / 483.5 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004265/0.3581, allocations: 375.8 kB / 483.9 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009501/0.3591, allocations: 1.311 MB / 485.2 MB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.3592, allocations: 99.06 kB / 485.3 MB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/0.3593, allocations: 49.3 kB / 485.3 MB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002862/0.3596, allocations: 357.6 kB / 485.7 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.3596, allocations: 36.56 kB / 485.7 MB, free: 13.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.3596, allocations: 1.094 kB / 485.7 MB, free: 13.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004711/0.3601, allocations: 231.8 kB / 485.9 MB, free: 13.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.737e-05/0.3601, allocations: 57.97 kB / 486 MB, free: 13.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.978e-05/0.3602, allocations: 202.4 kB / 486.2 MB, free: 13.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.3602, allocations: 30.92 kB / 486.2 MB, free: 13.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.3602, allocations: 190.1 kB / 486.4 MB, free: 13.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.3603, allocations: 70.11 kB / 486.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.45e-05/0.3604, allocations: 88.75 kB / 486.6 MB, free: 13.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.741e-05/0.3604, allocations: 333.1 kB / 486.9 MB, free: 12.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.095e-05/0.3604, allocations: 31.72 kB / 486.9 MB, free: 12.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.3605, allocations: 243.1 kB / 487.2 MB, free: 12.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.3607, allocations: 322.2 kB / 487.5 MB, free: 12.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3607, allocations: 3.125 kB / 487.5 MB, free: 12.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002397/0.361, allocations: 268.2 kB / 487.7 MB, free: 12.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.361, allocations: 8.062 kB / 487.7 MB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.361, allocations: 8.312 kB / 487.8 MB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.361, allocations: 8.594 kB / 487.8 MB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.3612, allocations: 124.9 kB / 487.9 MB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001463/0.3614, allocations: 0.5978 MB / 488.5 MB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.3615, allocations: 45.31 kB / 488.5 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.3615, allocations: 43.52 kB / 488.6 MB, free: 11.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 7.024e-05/0.3616, allocations: 142.4 kB / 488.7 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.3616, allocations: 16.52 kB / 488.7 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003797/0.362, allocations: 384.5 kB / 489.1 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.362, allocations: 6.75 kB / 489.1 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.362, allocations: 0 / 489.1 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.362, allocations: 2.156 kB / 489.1 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003579/0.3624, allocations: 400.9 kB / 489.5 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3624, allocations: 3.156 kB / 489.5 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.3625, allocations: 51.64 kB / 489.6 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3625, allocations: 2.844 kB / 489.6 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3625, allocations: 9.031 kB / 489.6 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001061/0.3626, allocations: 0.5861 MB / 490.1 MB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3626, allocations: 2.938 kB / 490.2 MB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.3627, allocations: 241.6 kB / 490.4 MB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.628e-05/0.3628, allocations: 27.84 kB / 490.4 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.3628, allocations: 12.05 kB / 490.4 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.3629, allocations: 19.3 kB / 490.4 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.3629, allocations: 22.38 kB / 490.5 MB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.363, allocations: 16.88 kB / 490.5 MB, free: 10.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.91e-05/0.363, allocations: 54.38 kB / 490.5 MB, free: 10.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.363, allocations: 1.094 kB / 490.5 MB, free: 10.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003226/0.3633, allocations: 149.4 kB / 490.7 MB, free: 10.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0003024/0.3636, allocations: 241.9 kB / 490.9 MB, free: 10.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.3638, allocations: 184.5 kB / 491.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.3639, allocations: 6.406 kB / 491.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.3639, allocations: 66.33 kB / 491.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.3642, allocations: 79.33 kB / 491.2 MB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009432/0.3651, allocations: 0.6726 MB / 491.9 MB, free: 9.918 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.273e-05/0.3652, allocations: 73.62 kB / 492 MB, free: 9.848 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003777/0.3656, allocations: 376.8 kB / 492.4 MB, free: 9.801 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.3658, allocations: 159 kB / 492.5 MB, free: 9.738 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3658, allocations: 1.094 kB / 492.5 MB, free: 9.738 MB / 410.7 MB Notification: Performance of Templates: time 0.006685/0.3725, allocations: 6.139 MB / 498.7 MB, free: 7.715 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5010972688905895]