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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 95.66 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 174.5 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3038/0.3038, allocations: 43.55 MB / 314.5 MB, free: 8.762 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004996/0.0004997, allocations: 12 kB / 383.9 MB, free: 8.031 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1175, allocations: 58.86 MB / 442.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3121/0.4296, allocations: 126.9 MB / 0.5563 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003014/0.4327, allocations: 2.567 MB / 0.5588 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.691e-05/0.4327, allocations: 0 / 0.5588 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.4329, allocations: 34.73 kB / 0.5588 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.166e-05/0.4329, allocations: 30.84 kB / 0.5588 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009395/0.4339, allocations: 374.6 kB / 0.5592 GB, free: 9.719 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.625e-05/0.434, allocations: 51.67 kB / 0.5592 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.001e-05/0.434, allocations: 0 / 0.5592 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.085e-05/0.4341, allocations: 39.33 kB / 0.5593 GB, free: 9.641 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.53e-05/0.4342, allocations: 22.41 kB / 0.5593 GB, free: 9.621 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.4342, allocations: 7.938 kB / 0.5593 GB, free: 9.613 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.4352, allocations: 495.8 kB / 0.5598 GB, free: 9.215 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.4353, allocations: 11.92 kB / 0.5598 GB, free: 9.203 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.4353, allocations: 33.7 kB / 0.5598 GB, free: 9.164 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.4356, allocations: 195.7 kB / 0.56 GB, free: 9.027 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.4356, allocations: 0 / 0.56 GB, free: 9.027 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4356, allocations: 0 / 0.56 GB, free: 9.027 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.4356, allocations: 0 / 0.56 GB, free: 9.027 MB / 430.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.0004696/0.4361, allocations: 397 kB / 0.5604 GB, free: 8.605 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.4362, allocations: 8.031 kB / 0.5604 GB, free: 8.598 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.4362, allocations: 13.42 kB / 0.5604 GB, free: 8.586 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.4363, allocations: 172 kB / 0.5606 GB, free: 8.379 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.4363, allocations: 4 kB / 0.5606 GB, free: 8.375 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.4364, allocations: 7.781 kB / 0.5606 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.4365, allocations: 67.22 kB / 0.5606 GB, free: 8.309 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.4365, allocations: 9.109 kB / 0.5607 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.4365, allocations: 0 / 0.5607 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.4366, allocations: 4 kB / 0.5607 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.674e-05/0.4366, allocations: 44.06 kB / 0.5607 GB, free: 8.262 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/0.4371, allocations: 394.8 kB / 0.5611 GB, free: 7.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.4372, allocations: 62.52 kB / 0.5611 GB, free: 7.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/0.4383, allocations: 1.009 MB / 0.5621 GB, free: 6.535 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.4384, allocations: 30.56 kB / 0.5622 GB, free: 6.496 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.4384, allocations: 0 / 0.5622 GB, free: 6.496 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.006601/0.445, allocations: 0.6752 MB / 0.5628 GB, free: 5.816 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.445, allocations: 55.41 kB / 0.5629 GB, free: 5.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.96e-05/0.4451, allocations: 109.8 kB / 0.563 GB, free: 5.633 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.4451, allocations: 29.7 kB / 0.563 GB, free: 5.598 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.4452, allocations: 88.27 kB / 0.5631 GB, free: 5.508 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.865e-05/0.4452, allocations: 47.36 kB / 0.5631 GB, free: 5.461 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.131e-05/0.4453, allocations: 0 / 0.5631 GB, free: 5.461 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.4454, allocations: 322.8 kB / 0.5634 GB, free: 5.137 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.4455, allocations: 83.88 kB / 0.5635 GB, free: 5.055 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.4457, allocations: 106.5 kB / 0.5636 GB, free: 4.941 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.4459, allocations: 91.91 kB / 0.5637 GB, free: 4.852 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4459, allocations: 0 / 0.5637 GB, free: 4.852 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004934/0.4464, allocations: 249.9 kB / 0.5639 GB, free: 4.602 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.4465, allocations: 4 kB / 0.5639 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.4465, allocations: 4.062 kB / 0.564 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.4465, allocations: 4 kB / 0.564 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006637/0.4472, allocations: 47.94 kB / 0.564 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.4472, allocations: 4 kB / 0.564 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005438/0.4477, allocations: 15.98 kB / 0.564 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.4478, allocations: 11.98 kB / 0.564 GB, free: 4.512 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.4479, allocations: 125.7 kB / 0.5642 GB, free: 4.379 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.448, allocations: 4 kB / 0.5642 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000743/0.4487, allocations: 351.6 kB / 0.5645 GB, free: 4.031 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.4487, allocations: 8 kB / 0.5645 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4487, allocations: 0.6875 kB / 0.5645 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4487, allocations: 0 / 0.5645 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009914/0.4497, allocations: 0.759 MB / 0.5652 GB, free: 3.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4497, allocations: 0 / 0.5652 GB, free: 3.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000628/0.4504, allocations: 52.58 kB / 0.5653 GB, free: 3.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.4504, allocations: 4 kB / 0.5653 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.4504, allocations: 11.98 kB / 0.5653 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4504, allocations: 0 / 0.5653 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.4504, allocations: 3.938 kB / 0.5653 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005193/0.451, allocations: 358 kB / 0.5657 GB, free: 2.746 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.4511, allocations: 105.5 kB / 0.5658 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.4511, allocations: 3.938 kB / 0.5658 GB, free: 2.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005432/0.4517, allocations: 16 kB / 0.5658 GB, free: 2.605 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.4517, allocations: 11.97 kB / 0.5658 GB, free: 2.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.4518, allocations: 16.61 kB / 0.5658 GB, free: 2.578 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.205e-05/0.4518, allocations: 79.78 kB / 0.5659 GB, free: 2.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4518, allocations: 0 / 0.5659 GB, free: 2.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004049/0.4522, allocations: 95.98 kB / 0.566 GB, free: 2.406 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003792/0.4526, allocations: 223 kB / 0.5662 GB, free: 2.176 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004577/0.4531, allocations: 208.5 kB / 0.5664 GB, free: 1.973 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4531, allocations: 0 / 0.5664 GB, free: 1.973 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.4533, allocations: 120 kB / 0.5665 GB, free: 1.855 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.4536, allocations: 23.97 kB / 0.5665 GB, free: 1.832 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005181/0.4541, allocations: 314.5 kB / 0.5668 GB, free: 1.504 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.4544, allocations: 0.6968 MB / 0.5675 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004538/0.4548, allocations: 64.69 kB / 0.5676 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.455, allocations: 43.38 kB / 0.5676 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.455, allocations: 0 / 0.5676 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of Templates: time 0.008669/0.4637, allocations: 5.92 MB / 0.5734 GB, free: 10.78 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches