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.001562/0.001562, allocations: 102.9 kB / 16.4 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 194.2 kB / 17.34 MB, free: 5.719 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.673/1.673, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2521/0.2521, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 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.001468/0.001469, allocations: 69.45 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1282, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4565/0.5848, allocations: 153.1 MB / 0.6374 GB, free: 1.418 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004737/0.5896, allocations: 3.634 MB / 0.641 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.433e-05/0.5897, allocations: 0 / 0.641 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.5899, allocations: 39.8 kB / 0.641 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.058e-05/0.5899, allocations: 27.77 kB / 0.641 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.5912, allocations: 441.2 kB / 0.6414 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.5913, allocations: 71.53 kB / 0.6415 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.019e-05/0.5914, allocations: 7.984 kB / 0.6415 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.448e-05/0.5915, allocations: 27.92 kB / 0.6415 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.428e-05/0.5915, allocations: 19.92 kB / 0.6416 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.5915, allocations: 4 kB / 0.6416 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009397/0.5925, allocations: 0.4987 MB / 0.642 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.5925, allocations: 7.922 kB / 0.6421 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.5926, allocations: 23.94 kB / 0.6421 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004656/0.593, allocations: 314.4 kB / 0.6424 GB, free: 12.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.593, allocations: 0 / 0.6424 GB, free: 12.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.5931, allocations: 0 / 0.6424 GB, free: 12.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.5931, allocations: 4 kB / 0.6424 GB, free: 12.32 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.0005134/0.5936, allocations: 399.3 kB / 0.6428 GB, free: 11.88 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.5936, allocations: 16.02 kB / 0.6428 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.5937, allocations: 12.84 kB / 0.6428 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.5938, allocations: 175.6 kB / 0.643 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.5938, allocations: 4 kB / 0.643 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.5938, allocations: 8 kB / 0.643 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.594, allocations: 73.67 kB / 0.643 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.594, allocations: 3.906 kB / 0.643 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.594, allocations: 0 / 0.643 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.594, allocations: 3.984 kB / 0.643 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.151e-05/0.5941, allocations: 47.97 kB / 0.6431 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.5946, allocations: 385.8 kB / 0.6435 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.5947, allocations: 62.56 kB / 0.6435 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.378e-05/0.5947, allocations: 20.84 kB / 0.6435 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001781/0.5965, allocations: 1.229 MB / 0.6447 GB, free: 9.492 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.5965, allocations: 42.72 kB / 0.6448 GB, free: 9.441 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.615e-06/0.5965, allocations: 0 / 0.6448 GB, free: 9.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.006979/0.6035, allocations: 0.6695 MB / 0.6454 GB, free: 8.766 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.6036, allocations: 51.41 kB / 0.6455 GB, free: 8.703 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.402e-05/0.6037, allocations: 105.8 kB / 0.6456 GB, free: 8.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.6037, allocations: 25.7 kB / 0.6456 GB, free: 8.559 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.6038, allocations: 92.27 kB / 0.6457 GB, free: 8.465 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.988e-05/0.6038, allocations: 43.92 kB / 0.6457 GB, free: 8.422 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.6039, allocations: 45.67 kB / 0.6458 GB, free: 8.371 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.604, allocations: 318.8 kB / 0.6461 GB, free: 8.051 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.6043, allocations: 91.88 kB / 0.6462 GB, free: 7.961 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.6045, allocations: 107.9 kB / 0.6463 GB, free: 7.848 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000435/0.6049, allocations: 206.8 kB / 0.6465 GB, free: 7.637 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.6049, allocations: 3.938 kB / 0.6465 GB, free: 7.633 MB / 494.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005486/0.6055, allocations: 245.4 kB / 0.6467 GB, free: 7.387 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.6055, allocations: 4 kB / 0.6467 GB, free: 7.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.6055, allocations: 4 kB / 0.6467 GB, free: 7.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.6056, allocations: 0 / 0.6467 GB, free: 7.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007213/0.6063, allocations: 63.06 kB / 0.6468 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.6063, allocations: 0 / 0.6468 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005742/0.6069, allocations: 15.98 kB / 0.6468 GB, free: 7.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.6069, allocations: 11.98 kB / 0.6468 GB, free: 7.293 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.0001265/0.6071, allocations: 129.8 kB / 0.6469 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.6071, allocations: 15.78 kB / 0.6469 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007898/0.6079, allocations: 342.5 kB / 0.6473 GB, free: 6.805 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.6079, allocations: 4 kB / 0.6473 GB, free: 6.801 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.6079, allocations: 4 kB / 0.6473 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.6079, allocations: 0 / 0.6473 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.609, allocations: 0.7559 MB / 0.648 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.609, allocations: 0 / 0.648 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000659/0.6097, allocations: 43.91 kB / 0.6481 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.6097, allocations: 0 / 0.6481 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.6097, allocations: 11.98 kB / 0.6481 GB, free: 5.891 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.6098, allocations: 4 kB / 0.6481 GB, free: 5.887 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.6098, allocations: 0 / 0.6481 GB, free: 5.887 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005684/0.6103, allocations: 359.2 kB / 0.6484 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.106e-05/0.6104, allocations: 104.9 kB / 0.6485 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.6105, allocations: 4 kB / 0.6485 GB, free: 5.395 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005712/0.6111, allocations: 11.98 kB / 0.6485 GB, free: 5.383 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.6111, allocations: 11.98 kB / 0.6485 GB, free: 5.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.6112, allocations: 19.98 kB / 0.6486 GB, free: 5.352 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.51e-05/0.6112, allocations: 84.53 kB / 0.6486 GB, free: 5.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.573e-06/0.6112, allocations: 0 / 0.6486 GB, free: 5.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004335/0.6117, allocations: 103.9 kB / 0.6487 GB, free: 5.168 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.0003987/0.6121, allocations: 223 kB / 0.649 GB, free: 4.941 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005214/0.6126, allocations: 211.2 kB / 0.6492 GB, free: 4.738 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6126, allocations: 0 / 0.6492 GB, free: 4.738 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.6129, allocations: 119.9 kB / 0.6493 GB, free: 4.621 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.6133, allocations: 36.02 kB / 0.6493 GB, free: 4.586 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005742/0.6139, allocations: 256.7 kB / 0.6496 GB, free: 4.309 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.6141, allocations: 0.6931 MB / 0.6502 GB, free: 3.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003252/0.6145, allocations: 68.75 kB / 0.6503 GB, free: 3.523 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.6147, allocations: 31.39 kB / 0.6503 GB, free: 3.492 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.6147, allocations: 3.938 kB / 0.6503 GB, free: 3.488 MB / 494.1 MB Notification: Performance of Templates: time 0.01019/0.6249, allocations: 6.242 MB / 0.6564 GB, free: 13.25 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (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) 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) Reference file matches