Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001617/0.001617, allocations: 106.5 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.001928/0.001928, allocations: 213.2 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.509/1.509, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2363/0.2363, allocations: 46.94 MB / 361.4 MB, free: 4.395 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002376, allocations: 79.86 kB / 0.4972 GB, free: 7.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3264, allocations: 66.03 MB / 0.5616 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1961/0.5226, allocations: 154.9 MB / 0.7129 GB, free: 9.012 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.5245, allocations: 1.195 MB / 0.7141 GB, free: 7.812 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.727e-05/0.5245, allocations: 0 / 0.7141 GB, free: 7.812 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.5247, allocations: 43.73 kB / 0.7141 GB, free: 7.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.536e-05/0.5248, allocations: 31.72 kB / 0.7141 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.5263, allocations: 449.6 kB / 0.7146 GB, free: 7.301 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.5264, allocations: 67.59 kB / 0.7146 GB, free: 7.234 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.5264, allocations: 4 kB / 0.7146 GB, free: 7.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.5266, allocations: 35.91 kB / 0.7147 GB, free: 7.195 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.5266, allocations: 27.86 kB / 0.7147 GB, free: 7.168 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.5266, allocations: 4 kB / 0.7147 GB, free: 7.164 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.528, allocations: 0.5298 MB / 0.7152 GB, free: 6.633 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.528, allocations: 7.984 kB / 0.7152 GB, free: 6.625 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.49e-05/0.528, allocations: 31.86 kB / 0.7153 GB, free: 6.594 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005976/0.5286, allocations: 313.9 kB / 0.7156 GB, free: 6.293 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5286, allocations: 0 / 0.7156 GB, free: 6.293 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5286, allocations: 0 / 0.7156 GB, free: 6.293 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.5287, allocations: 0 / 0.7156 GB, free: 6.293 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.0006851/0.5293, allocations: 333.7 kB / 0.7159 GB, free: 5.938 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.5294, allocations: 15.97 kB / 0.7159 GB, free: 5.922 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.5294, allocations: 4.938 kB / 0.7159 GB, free: 5.918 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.5295, allocations: 117 kB / 0.716 GB, free: 5.777 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.5296, allocations: 8 kB / 0.716 GB, free: 5.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.5296, allocations: 8 kB / 0.716 GB, free: 5.762 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.5297, allocations: 69.05 kB / 0.7161 GB, free: 5.691 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.5298, allocations: 3.984 kB / 0.7161 GB, free: 5.688 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.5298, allocations: 4 kB / 0.7161 GB, free: 5.684 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.5298, allocations: 0 / 0.7161 GB, free: 5.684 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.5299, allocations: 51.97 kB / 0.7161 GB, free: 5.633 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005438/0.5304, allocations: 356.8 kB / 0.7165 GB, free: 5.223 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.5306, allocations: 66.55 kB / 0.7166 GB, free: 5.148 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.541e-05/0.5306, allocations: 16.86 kB / 0.7166 GB, free: 5.129 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001372/0.532, allocations: 251.8 kB / 0.7168 GB, free: 4.883 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.532, allocations: 42.62 kB / 0.7169 GB, free: 4.832 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.532, allocations: 0 / 0.7169 GB, free: 4.832 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.006961/0.539, allocations: 0.6573 MB / 0.7175 GB, free: 4.168 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.539, allocations: 55.41 kB / 0.7175 GB, free: 4.102 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.5391, allocations: 101.8 kB / 0.7176 GB, free: 3.992 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.5392, allocations: 29.7 kB / 0.7177 GB, free: 3.957 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.5392, allocations: 92.31 kB / 0.7178 GB, free: 3.863 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/0.5393, allocations: 55.53 kB / 0.7178 GB, free: 3.809 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.5394, allocations: 41.67 kB / 0.7179 GB, free: 3.762 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.5396, allocations: 322.8 kB / 0.7182 GB, free: 3.438 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.5398, allocations: 83.94 kB / 0.7182 GB, free: 3.355 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.54, allocations: 102.8 kB / 0.7183 GB, free: 3.246 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000459/0.5405, allocations: 198.5 kB / 0.7185 GB, free: 3.043 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.5405, allocations: 4 kB / 0.7185 GB, free: 3.039 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005965/0.5411, allocations: 249.5 kB / 0.7188 GB, free: 2.789 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.5411, allocations: 4 kB / 0.7188 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.5411, allocations: 11.88 kB / 0.7188 GB, free: 2.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.5411, allocations: 4.062 kB / 0.7188 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000665/0.5418, allocations: 51.94 kB / 0.7188 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.5418, allocations: 0 / 0.7188 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005085/0.5423, allocations: 16 kB / 0.7189 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.187e-05/0.5424, allocations: 15.97 kB / 0.7189 GB, free: 2.688 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.0001562/0.5425, allocations: 121.7 kB / 0.719 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.989e-05/0.5426, allocations: 7.953 kB / 0.719 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008884/0.5435, allocations: 349.7 kB / 0.7193 GB, free: 2.207 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-06/0.5435, allocations: 0 / 0.7193 GB, free: 2.207 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.537e-06/0.5435, allocations: 4 kB / 0.7193 GB, free: 2.203 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.5435, allocations: 0 / 0.7193 GB, free: 2.203 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.5448, allocations: 0.7334 MB / 0.72 GB, free: 1.379 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.5448, allocations: 0 / 0.72 GB, free: 1.379 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006157/0.5454, allocations: 51.89 kB / 0.7201 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.5454, allocations: 0 / 0.7201 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.5454, allocations: 11.98 kB / 0.7201 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5454, allocations: 0 / 0.7201 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.5454, allocations: 3.938 kB / 0.7201 GB, free: 1.312 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006573/0.5461, allocations: 351.4 kB / 0.7204 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.769e-05/0.5462, allocations: 27.89 kB / 0.7205 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.5462, allocations: 8 kB / 0.7205 GB, free: 0.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005157/0.5467, allocations: 8 kB / 0.7205 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.5468, allocations: 19.91 kB / 0.7205 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.5468, allocations: 7.984 kB / 0.7205 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.506e-05/0.5469, allocations: 87.28 kB / 0.7206 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.5469, allocations: 4 kB / 0.7206 GB, free: 0.793 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005685/0.5475, allocations: 99.73 kB / 0.7207 GB, free: 0.6953 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.0004879/0.548, allocations: 226.8 kB / 0.7209 GB, free: 476 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005745/0.5485, allocations: 207.2 kB / 0.7211 GB, free: 272 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.5486, allocations: 0 / 0.7211 GB, free: 272 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.5488, allocations: 122 kB / 0.7212 GB, free: 152 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.5492, allocations: 26.11 kB / 0.7212 GB, free: 128 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007342/0.55, allocations: 260.6 kB / 0.7215 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.5504, allocations: 0.6965 MB / 0.7222 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003268/0.5507, allocations: 64.84 kB / 0.7222 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.5509, allocations: 35.39 kB / 0.7223 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.5509, allocations: 0 / 0.7223 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of Templates: time 0.01204/0.5629, allocations: 6.394 MB / 0.7285 GB, free: 8.625 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.737345978617668]