Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002462/0.002462, allocations: 215.7 kB / 22.99 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.255/0.255, allocations: 44.26 MB / 330.3 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002395/0.002395, allocations: 67.91 kB / 468 MB, free: 3.883 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1539, allocations: 61.05 MB / 0.5166 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4902/0.6441, allocations: 131.8 MB / 0.6453 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005712/0.6498, allocations: 3.32 MB / 0.6486 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.853e-05/0.6499, allocations: 0 / 0.6486 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.6501, allocations: 35.83 kB / 0.6486 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.456e-05/0.6502, allocations: 23.78 kB / 0.6486 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.6519, allocations: 425.5 kB / 0.6491 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.652, allocations: 75.58 kB / 0.6491 GB, free: 10.31 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.664e-05/0.6521, allocations: 4 kB / 0.6491 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.6522, allocations: 31.86 kB / 0.6492 GB, free: 10.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.269e-05/0.6522, allocations: 27.91 kB / 0.6492 GB, free: 10.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.6522, allocations: 0 / 0.6492 GB, free: 10.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.6536, allocations: 462.8 kB / 0.6496 GB, free: 9.793 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.6536, allocations: 7.922 kB / 0.6496 GB, free: 9.785 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.6536, allocations: 27.92 kB / 0.6497 GB, free: 9.758 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007779/0.6544, allocations: 298 kB / 0.6499 GB, free: 9.473 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.6544, allocations: 0 / 0.6499 GB, free: 9.473 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.6544, allocations: 0 / 0.6499 GB, free: 9.473 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.6544, allocations: 0 / 0.6499 GB, free: 9.473 MB / 494.1 MB 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.0008131/0.6553, allocations: 333.7 kB / 0.6503 GB, free: 9.117 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.6553, allocations: 8.031 kB / 0.6503 GB, free: 9.109 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.6553, allocations: 12.83 kB / 0.6503 GB, free: 9.098 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.6555, allocations: 109.9 kB / 0.6504 GB, free: 8.965 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.6555, allocations: 8 kB / 0.6504 GB, free: 8.957 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.6555, allocations: 4 kB / 0.6504 GB, free: 8.953 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.6557, allocations: 78.47 kB / 0.6505 GB, free: 8.871 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.6557, allocations: 4 kB / 0.6505 GB, free: 8.867 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.6557, allocations: 4 kB / 0.6505 GB, free: 8.863 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.6557, allocations: 0 / 0.6505 GB, free: 8.863 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.947e-05/0.6558, allocations: 47.97 kB / 0.6505 GB, free: 8.816 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005369/0.6564, allocations: 252.4 kB / 0.6508 GB, free: 8.539 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.6565, allocations: 62.5 kB / 0.6508 GB, free: 8.469 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.956e-05/0.6566, allocations: 28.84 kB / 0.6509 GB, free: 8.438 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001489/0.6581, allocations: 259.7 kB / 0.6511 GB, free: 8.184 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.6581, allocations: 38.56 kB / 0.6511 GB, free: 8.137 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.6581, allocations: 3.938 kB / 0.6511 GB, free: 8.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.006885/0.665, allocations: 0.6729 MB / 0.6518 GB, free: 7.453 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.665, allocations: 51.41 kB / 0.6518 GB, free: 7.391 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.6652, allocations: 101.9 kB / 0.6519 GB, free: 7.281 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.6652, allocations: 29.7 kB / 0.652 GB, free: 7.246 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.6652, allocations: 92.3 kB / 0.6521 GB, free: 7.152 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.984e-05/0.6653, allocations: 51.59 kB / 0.6521 GB, free: 7.102 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.6654, allocations: 45.67 kB / 0.6522 GB, free: 7.051 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.6656, allocations: 318.8 kB / 0.6525 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.6658, allocations: 84.56 kB / 0.6525 GB, free: 6.648 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.6661, allocations: 102.5 kB / 0.6526 GB, free: 6.539 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004779/0.6665, allocations: 202.5 kB / 0.6528 GB, free: 6.332 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.6665, allocations: 0 / 0.6528 GB, free: 6.332 MB / 494.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006223/0.6672, allocations: 257.5 kB / 0.6531 GB, free: 6.074 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.6672, allocations: 7.938 kB / 0.6531 GB, free: 6.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.6672, allocations: 2.375 kB / 0.6531 GB, free: 6.066 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.6672, allocations: 7.938 kB / 0.6531 GB, free: 6.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007253/0.6679, allocations: 51.88 kB / 0.6531 GB, free: 6.008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.6679, allocations: 4 kB / 0.6531 GB, free: 6.004 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/0.6685, allocations: 12 kB / 0.6532 GB, free: 5.992 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/0.6686, allocations: 15.98 kB / 0.6532 GB, free: 5.977 MB / 494.1 MB 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.0001385/0.6687, allocations: 113.8 kB / 0.6533 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.709e-05/0.6687, allocations: 12 kB / 0.6533 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008644/0.6696, allocations: 351.5 kB / 0.6536 GB, free: 5.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.6696, allocations: 0 / 0.6536 GB, free: 5.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.6696, allocations: 0 / 0.6536 GB, free: 5.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.6696, allocations: 0 / 0.6536 GB, free: 5.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.6709, allocations: 0.6863 MB / 0.6543 GB, free: 4.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.6709, allocations: 0 / 0.6543 GB, free: 4.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006648/0.6715, allocations: 43.97 kB / 0.6543 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.6716, allocations: 0 / 0.6543 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/0.6716, allocations: 7.984 kB / 0.6543 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.6716, allocations: 0 / 0.6543 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6716, allocations: 0 / 0.6543 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006684/0.6723, allocations: 366.7 kB / 0.6547 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.6724, allocations: 35.84 kB / 0.6547 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/0.6724, allocations: 4.875 kB / 0.6547 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005765/0.673, allocations: 11.98 kB / 0.6547 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.6731, allocations: 15.97 kB / 0.6548 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.6731, allocations: 11.98 kB / 0.6548 GB, free: 4.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.651e-05/0.6731, allocations: 88.09 kB / 0.6549 GB, free: 4.145 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6731, allocations: 0 / 0.6549 GB, free: 4.145 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004758/0.6736, allocations: 95.8 kB / 0.6549 GB, free: 4.051 MB / 494.1 MB 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.000468/0.6741, allocations: 222.8 kB / 0.6552 GB, free: 3.824 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005744/0.6747, allocations: 199.8 kB / 0.6554 GB, free: 3.629 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.6747, allocations: 4 kB / 0.6554 GB, free: 3.625 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002571/0.6749, allocations: 115.9 kB / 0.6555 GB, free: 3.512 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.6754, allocations: 35.83 kB / 0.6555 GB, free: 3.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000669/0.676, allocations: 249 kB / 0.6557 GB, free: 3.211 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.6761, allocations: 87.78 kB / 0.6558 GB, free: 3.105 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000349/0.6765, allocations: 64.83 kB / 0.6559 GB, free: 3.043 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.6767, allocations: 35.39 kB / 0.6559 GB, free: 3.008 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.6767, allocations: 0 / 0.6559 GB, free: 3.008 MB / 494.1 MB Notification: Performance of Templates: time 0.01286/0.6896, allocations: 6.859 MB / 0.6626 GB, free: 12.15 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.2380707040429115]