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.001372/0.001372, allocations: 117 kB / 17.08 MB, free: 5.832 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.001394/0.001395, allocations: 193.3 kB / 18.01 MB, free: 4.965 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.497/1.497, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.1968/0.1968, allocations: 43.53 MB / 314.8 MB, free: 464 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.00147/0.00147, allocations: 71.88 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1027, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4028/0.5055, allocations: 153.1 MB / 0.6381 GB, free: 1.43 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004422/0.51, allocations: 3.632 MB / 0.6416 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.5101, allocations: 0 / 0.6416 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.5103, allocations: 35.8 kB / 0.6416 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.082e-05/0.5104, allocations: 35.7 kB / 0.6417 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.5117, allocations: 425.3 kB / 0.6421 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.5118, allocations: 79.53 kB / 0.6422 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.5119, allocations: 7.984 kB / 0.6422 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.311e-05/0.512, allocations: 27.92 kB / 0.6422 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.242e-05/0.512, allocations: 27.86 kB / 0.6422 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.512, allocations: 4 kB / 0.6422 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.5131, allocations: 0.4909 MB / 0.6427 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.5132, allocations: 11.94 kB / 0.6427 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.5132, allocations: 19.94 kB / 0.6427 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005592/0.5138, allocations: 318.4 kB / 0.643 GB, free: 12.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.5138, allocations: 0 / 0.643 GB, free: 12.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5138, allocations: 0 / 0.643 GB, free: 12.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.5138, allocations: 0 / 0.643 GB, free: 12.34 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.0005865/0.5144, allocations: 407.3 kB / 0.6434 GB, free: 11.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.5144, allocations: 8.031 kB / 0.6434 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.5145, allocations: 12.78 kB / 0.6434 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.5146, allocations: 175.7 kB / 0.6436 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.5146, allocations: 0 / 0.6436 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.5147, allocations: 12 kB / 0.6436 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.5148, allocations: 70.55 kB / 0.6437 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.5148, allocations: 11.89 kB / 0.6437 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.5149, allocations: 4 kB / 0.6437 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.5149, allocations: 0 / 0.6437 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.349e-05/0.515, allocations: 51.91 kB / 0.6438 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.5154, allocations: 377.8 kB / 0.6441 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.5155, allocations: 66.56 kB / 0.6442 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/0.5156, allocations: 21.03 kB / 0.6442 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001936/0.5175, allocations: 1.24 MB / 0.6454 GB, free: 9.496 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.5175, allocations: 30.56 kB / 0.6454 GB, free: 9.457 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.5176, allocations: 0 / 0.6454 GB, free: 9.457 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.007078/0.5246, allocations: 0.657 MB / 0.6461 GB, free: 8.793 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.5247, allocations: 55.41 kB / 0.6461 GB, free: 8.727 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.979e-05/0.5248, allocations: 109.8 kB / 0.6462 GB, free: 8.609 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.5248, allocations: 29.7 kB / 0.6463 GB, free: 8.574 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.5249, allocations: 92.27 kB / 0.6464 GB, free: 8.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.227e-05/0.5249, allocations: 43.92 kB / 0.6464 GB, free: 8.438 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.5251, allocations: 49.61 kB / 0.6464 GB, free: 8.383 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.5252, allocations: 318.8 kB / 0.6467 GB, free: 8.062 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.5254, allocations: 83.88 kB / 0.6468 GB, free: 7.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.5257, allocations: 110.5 kB / 0.6469 GB, free: 7.863 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/0.5261, allocations: 206.3 kB / 0.6471 GB, free: 7.656 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.5261, allocations: 3.938 kB / 0.6471 GB, free: 7.652 MB / 494.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005817/0.5267, allocations: 249.4 kB / 0.6474 GB, free: 7.402 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.5267, allocations: 8.062 kB / 0.6474 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.5268, allocations: 0 / 0.6474 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.5268, allocations: 4 kB / 0.6474 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007287/0.5275, allocations: 51.94 kB / 0.6474 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.5275, allocations: 0 / 0.6474 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005766/0.5281, allocations: 15.98 kB / 0.6474 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.5282, allocations: 15.98 kB / 0.6475 GB, free: 7.309 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.0001287/0.5283, allocations: 121.7 kB / 0.6476 GB, free: 7.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.019e-05/0.5284, allocations: 15.84 kB / 0.6476 GB, free: 7.164 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007782/0.5291, allocations: 348.8 kB / 0.6479 GB, free: 6.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.5292, allocations: 3.984 kB / 0.6479 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5292, allocations: 0 / 0.6479 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5292, allocations: 0 / 0.6479 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.5303, allocations: 0.7598 MB / 0.6487 GB, free: 5.961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5303, allocations: 0 / 0.6487 GB, free: 5.961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006962/0.531, allocations: 47.91 kB / 0.6487 GB, free: 5.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.531, allocations: 0 / 0.6487 GB, free: 5.914 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.5311, allocations: 7.984 kB / 0.6487 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.5311, allocations: 1.641 kB / 0.6487 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5311, allocations: 0 / 0.6487 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000604/0.5317, allocations: 363.2 kB / 0.6491 GB, free: 5.535 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.724e-05/0.5318, allocations: 104.9 kB / 0.6492 GB, free: 5.414 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.5319, allocations: 4 kB / 0.6492 GB, free: 5.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005841/0.5325, allocations: 11.98 kB / 0.6492 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.5325, allocations: 15.98 kB / 0.6492 GB, free: 5.383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.5326, allocations: 11.92 kB / 0.6492 GB, free: 5.371 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.536e-05/0.5326, allocations: 91.09 kB / 0.6493 GB, free: 5.285 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5326, allocations: 7.938 kB / 0.6493 GB, free: 5.277 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004391/0.5331, allocations: 99.98 kB / 0.6494 GB, free: 5.18 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.0004201/0.5335, allocations: 215.1 kB / 0.6496 GB, free: 4.961 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005265/0.534, allocations: 215.2 kB / 0.6498 GB, free: 4.754 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.534, allocations: 0 / 0.6498 GB, free: 4.754 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.5343, allocations: 119.9 kB / 0.6499 GB, free: 4.637 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.5347, allocations: 34.56 kB / 0.65 GB, free: 4.605 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006071/0.5354, allocations: 286.5 kB / 0.6502 GB, free: 4.293 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.5356, allocations: 0.6931 MB / 0.6509 GB, free: 3.574 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.5359, allocations: 39.38 kB / 0.651 GB, free: 3.535 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5359, allocations: 4 kB / 0.651 GB, free: 3.531 MB / 494.1 MB Notification: Performance of Templates: time 0.006643/0.5425, allocations: 4.143 MB / 0.655 GB, free: 15.38 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/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