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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001263/0.001263, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 226.8 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001094/0.001094, allocations: 109 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.358/0.358, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 67.88 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3035, allocations: 62.02 MB / 0.5152 GB, free: 37.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1568/0.4603, allocations: 149.3 MB / 0.661 GB, free: 3.766 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.462, allocations: 1.234 MB / 0.6622 GB, free: 2.527 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.462, allocations: 3.938 kB / 0.6622 GB, free: 2.523 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.4622, allocations: 39.78 kB / 0.6622 GB, free: 2.484 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 3.869e-05/0.4623, allocations: 19.8 kB / 0.6622 GB, free: 2.465 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.4635, allocations: 388.4 kB / 0.6626 GB, free: 2.086 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 8.93e-05/0.4636, allocations: 67.61 kB / 0.6627 GB, free: 2.02 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.596e-05/0.4637, allocations: 4 kB / 0.6627 GB, free: 2.016 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.921e-05/0.4638, allocations: 39.84 kB / 0.6627 GB, free: 1.977 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.826e-05/0.4638, allocations: 23.92 kB / 0.6627 GB, free: 1.953 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.4638, allocations: 0 / 0.6627 GB, free: 1.953 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.465, allocations: 0.491 MB / 0.6632 GB, free: 1.461 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.465, allocations: 11.92 kB / 0.6632 GB, free: 1.449 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.693e-05/0.4651, allocations: 23.88 kB / 0.6632 GB, free: 1.426 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005369/0.4656, allocations: 319.3 kB / 0.6635 GB, free: 1.113 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4656, allocations: 0 / 0.6635 GB, free: 1.113 MB / 474.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.4656, allocations: 4 kB / 0.6635 GB, free: 1.109 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.211e-05/0.4657, allocations: 0 / 0.6635 GB, free: 1.109 MB / 474.7 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.0006246/0.4663, allocations: 407.3 kB / 0.6639 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.4664, allocations: 8.031 kB / 0.6639 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.4664, allocations: 8.938 kB / 0.664 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.4665, allocations: 174.9 kB / 0.6641 GB, free: 448 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.4666, allocations: 0 / 0.6641 GB, free: 448 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.4666, allocations: 8 kB / 0.6641 GB, free: 440 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.4668, allocations: 69.67 kB / 0.6642 GB, free: 364 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.4668, allocations: 4 kB / 0.6642 GB, free: 360 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.4668, allocations: 4 kB / 0.6642 GB, free: 356 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4668, allocations: 0 / 0.6642 GB, free: 356 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.353e-05/0.4669, allocations: 55.88 kB / 0.6643 GB, free: 300 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004575/0.4674, allocations: 385.8 kB / 0.6646 GB, free: 15.85 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.4675, allocations: 58.56 kB / 0.6647 GB, free: 15.78 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.141e-05/0.4676, allocations: 32.97 kB / 0.6647 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001814/0.4694, allocations: 1.217 MB / 0.6659 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.4694, allocations: 50.42 kB / 0.6659 GB, free: 14.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.4694, allocations: 0 / 0.6659 GB, free: 14.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.007148/0.4766, allocations: 0.6453 MB / 0.6666 GB, free: 13.58 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.4767, allocations: 59.34 kB / 0.6666 GB, free: 13.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.842e-05/0.4768, allocations: 105.8 kB / 0.6667 GB, free: 13.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.4768, allocations: 29.7 kB / 0.6668 GB, free: 13.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.4768, allocations: 88.33 kB / 0.6668 GB, free: 13.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.793e-05/0.4769, allocations: 43.3 kB / 0.6669 GB, free: 13.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.477, allocations: 53.67 kB / 0.6669 GB, free: 13.17 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.838e-05/0.4771, allocations: 314.8 kB / 0.6672 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.4773, allocations: 75.95 kB / 0.6673 GB, free: 12.78 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.4776, allocations: 110.5 kB / 0.6674 GB, free: 12.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004402/0.478, allocations: 206.5 kB / 0.6676 GB, free: 12.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.478, allocations: 0 / 0.6676 GB, free: 12.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005548/0.4786, allocations: 248.9 kB / 0.6678 GB, free: 12.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4786, allocations: 4 kB / 0.6679 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4786, allocations: 0 / 0.6679 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.4786, allocations: 4 kB / 0.6679 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007085/0.4794, allocations: 55.94 kB / 0.6679 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4794, allocations: 0 / 0.6679 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005788/0.48, allocations: 16.06 kB / 0.6679 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/0.48, allocations: 15.97 kB / 0.6679 GB, free: 12.11 MB / 490.7 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.000123/0.4801, allocations: 126.6 kB / 0.6681 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.4802, allocations: 7.906 kB / 0.6681 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008263/0.481, allocations: 344.8 kB / 0.6684 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.4811, allocations: 3.984 kB / 0.6684 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4811, allocations: 0 / 0.6684 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4811, allocations: 4 kB / 0.6684 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.4823, allocations: 0.7553 MB / 0.6691 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4823, allocations: 0 / 0.6691 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006808/0.483, allocations: 47.89 kB / 0.6692 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.483, allocations: 0 / 0.6692 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/0.483, allocations: 11.98 kB / 0.6692 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.483, allocations: 0 / 0.6692 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.483, allocations: 3.938 kB / 0.6692 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.4841, allocations: 1.015 MB / 0.6702 GB, free: 9.641 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.4842, allocations: 108.9 kB / 0.6703 GB, free: 9.516 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.4843, allocations: 256 / 0.6703 GB, free: 9.516 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005801/0.4849, allocations: 15.98 kB / 0.6703 GB, free: 9.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.4849, allocations: 15.98 kB / 0.6703 GB, free: 9.484 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/0.485, allocations: 11.98 kB / 0.6703 GB, free: 9.473 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.042e-05/0.485, allocations: 83.28 kB / 0.6704 GB, free: 9.391 MB / 490.7 MB Notification: Performance of sort global known variables: time 3e-07/0.485, allocations: 0 / 0.6704 GB, free: 9.391 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005643/0.4856, allocations: 107.9 kB / 0.6705 GB, free: 9.285 MB / 490.7 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.0005006/0.4861, allocations: 234.9 kB / 0.6707 GB, free: 9.043 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005123/0.4866, allocations: 199.8 kB / 0.6709 GB, free: 8.848 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4866, allocations: 0 / 0.6709 GB, free: 8.848 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.4869, allocations: 127.8 kB / 0.6711 GB, free: 8.723 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.4873, allocations: 32.05 kB / 0.6711 GB, free: 8.691 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000742/0.4881, allocations: 443.5 kB / 0.6715 GB, free: 8.227 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.4884, allocations: 0.7007 MB / 0.6722 GB, free: 7.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004776/0.4889, allocations: 60.75 kB / 0.6723 GB, free: 7.438 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.4891, allocations: 39.38 kB / 0.6723 GB, free: 7.398 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4891, allocations: 4 kB / 0.6723 GB, free: 7.395 MB / 490.7 MB Notification: Performance of Templates: time 0.009953/0.4991, allocations: 6.182 MB / 0.6783 GB, free: 1.211 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches