Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.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.00168/0.00168, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.002089/0.002089, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 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.675/1.675, allocations: 230.3 MB / 258 MB, free: 8.254 MB / 206.1 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.2686/0.2686, allocations: 46.89 MB / 361.3 MB, free: 4.449 MB / 286.1 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.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 75.88 kB / 0.497 GB, free: 7.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3689, allocations: 66.03 MB / 0.5615 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.2064/0.5753, allocations: 154.9 MB / 0.7128 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.577, allocations: 1.211 MB / 0.714 GB, free: 7.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.421e-05/0.5771, allocations: 0 / 0.714 GB, free: 7.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.5773, allocations: 35.8 kB / 0.714 GB, free: 7.875 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.27e-05/0.5773, allocations: 27.72 kB / 0.714 GB, free: 7.848 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.5786, allocations: 445.7 kB / 0.7144 GB, free: 7.414 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.5788, allocations: 71.59 kB / 0.7145 GB, free: 7.344 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.369e-05/0.5788, allocations: 4 kB / 0.7145 GB, free: 7.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.935e-05/0.5789, allocations: 39.86 kB / 0.7146 GB, free: 7.301 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.846e-05/0.579, allocations: 31.84 kB / 0.7146 GB, free: 7.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.579, allocations: 4 kB / 0.7146 GB, free: 7.266 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.5803, allocations: 0.5221 MB / 0.7151 GB, free: 6.742 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.5803, allocations: 3.984 kB / 0.7151 GB, free: 6.738 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.5803, allocations: 27.88 kB / 0.7151 GB, free: 6.711 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000599/0.5809, allocations: 317.8 kB / 0.7154 GB, free: 6.406 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.5809, allocations: 0 / 0.7154 GB, free: 6.406 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5809, allocations: 0 / 0.7154 GB, free: 6.406 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.5809, allocations: 4 kB / 0.7154 GB, free: 6.402 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000588/0.5815, allocations: 337.7 kB / 0.7158 GB, free: 6.043 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.5816, allocations: 12.03 kB / 0.7158 GB, free: 6.031 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.5816, allocations: 0.9375 kB / 0.7158 GB, free: 6.031 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.5817, allocations: 117.1 kB / 0.7159 GB, free: 5.891 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.5817, allocations: 7.938 kB / 0.7159 GB, free: 5.883 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.5818, allocations: 8 kB / 0.7159 GB, free: 5.875 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.5819, allocations: 73.59 kB / 0.716 GB, free: 5.797 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.5819, allocations: 4 kB / 0.716 GB, free: 5.793 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-06/0.5819, allocations: 0 / 0.716 GB, free: 5.793 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.5819, allocations: 4 kB / 0.716 GB, free: 5.789 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.772e-05/0.582, allocations: 47.97 kB / 0.716 GB, free: 5.742 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.5825, allocations: 360.9 kB / 0.7164 GB, free: 5.328 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.5827, allocations: 62.5 kB / 0.7164 GB, free: 5.258 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.951e-05/0.5827, allocations: 20.84 kB / 0.7164 GB, free: 5.234 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/0.5841, allocations: 247.7 kB / 0.7167 GB, free: 4.992 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.5842, allocations: 42.5 kB / 0.7167 GB, free: 4.941 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.5842, allocations: 0 / 0.7167 GB, free: 4.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.007333/0.5915, allocations: 0.6496 MB / 0.7174 GB, free: 4.285 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.5916, allocations: 59.39 kB / 0.7174 GB, free: 4.215 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.5917, allocations: 97.86 kB / 0.7175 GB, free: 4.109 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.5917, allocations: 33.7 kB / 0.7175 GB, free: 4.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.504e-05/0.5918, allocations: 92.3 kB / 0.7176 GB, free: 3.977 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.525e-05/0.5918, allocations: 55.53 kB / 0.7177 GB, free: 3.922 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.592, allocations: 41.67 kB / 0.7177 GB, free: 3.875 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5921, allocations: 318.8 kB / 0.718 GB, free: 3.555 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.5923, allocations: 79.94 kB / 0.7181 GB, free: 3.477 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.5926, allocations: 106.5 kB / 0.7182 GB, free: 3.363 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.593, allocations: 205.8 kB / 0.7184 GB, free: 3.156 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.593, allocations: 4 kB / 0.7184 GB, free: 3.152 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005917/0.5936, allocations: 249.5 kB / 0.7186 GB, free: 2.902 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.5936, allocations: 4 kB / 0.7186 GB, free: 2.898 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.5936, allocations: 4 kB / 0.7186 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.5937, allocations: 0.5625 kB / 0.7187 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007374/0.5944, allocations: 55.83 kB / 0.7187 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5944, allocations: 0 / 0.7187 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005653/0.595, allocations: 24.05 kB / 0.7187 GB, free: 2.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/0.595, allocations: 11.98 kB / 0.7187 GB, free: 2.805 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * 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.0001527/0.5952, allocations: 119.1 kB / 0.7189 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/0.5952, allocations: 7.891 kB / 0.7189 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008563/0.5961, allocations: 360.4 kB / 0.7192 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.5961, allocations: 0 / 0.7192 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.5961, allocations: 0 / 0.7192 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.5961, allocations: 4 kB / 0.7192 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.5974, allocations: 0.731 MB / 0.7199 GB, free: 1.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5974, allocations: 0 / 0.7199 GB, free: 1.492 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000674/0.598, allocations: 43.97 kB / 0.72 GB, free: 1.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.598, allocations: 4 kB / 0.72 GB, free: 1.445 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.5981, allocations: 7.984 kB / 0.72 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5981, allocations: 0 / 0.72 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.5981, allocations: 3.938 kB / 0.72 GB, free: 1.434 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006358/0.5987, allocations: 361.8 kB / 0.7203 GB, free: 1.066 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.294e-05/0.5988, allocations: 23.91 kB / 0.7203 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.054e-05/0.5989, allocations: 8 kB / 0.7204 GB, free: 1.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005812/0.5994, allocations: 11.98 kB / 0.7204 GB, free: 1.023 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.5995, allocations: 23.91 kB / 0.7204 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.5995, allocations: 4 kB / 0.7204 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.529e-05/0.5996, allocations: 87.27 kB / 0.7205 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.5996, allocations: 0 / 0.7205 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004958/0.6001, allocations: 103.7 kB / 0.7206 GB, free: 0.8086 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.0004523/0.6005, allocations: 222.8 kB / 0.7208 GB, free: 0.582 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005407/0.6011, allocations: 199.8 kB / 0.721 GB, free: 396 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6011, allocations: 0 / 0.721 GB, free: 396 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.6013, allocations: 120 kB / 0.7211 GB, free: 276 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.6018, allocations: 34.3 kB / 0.7211 GB, free: 244 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006478/0.6024, allocations: 248.5 kB / 0.7214 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.6028, allocations: 0.6965 MB / 0.722 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000326/0.6031, allocations: 73.02 kB / 0.7221 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.6033, allocations: 35.39 kB / 0.7221 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.6033, allocations: 0 / 0.7221 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of Templates: time 0.01184/0.6151, allocations: 6.409 MB / 0.7284 GB, free: 8.73 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.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: 6.2119497722014785]