Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0009025/0.0009026, allocations: 94.44 kB / 17.35 MB, free: 6.375 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.0011/0.0011, allocations: 176.3 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2424/0.2424, allocations: 44.25 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000293/0.000293, allocations: 4 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1141, allocations: 61.93 MB / 472.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3911/0.5052, allocations: 147.3 MB / 0.6051 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.5067, allocations: 1.204 MB / 0.6062 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.966e-05/0.5068, allocations: 4 kB / 0.6062 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.507, allocations: 38.66 kB / 0.6063 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.13e-05/0.507, allocations: 23.78 kB / 0.6063 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.5082, allocations: 385.6 kB / 0.6067 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.176e-05/0.5083, allocations: 71.55 kB / 0.6067 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.5083, allocations: 7.984 kB / 0.6067 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.673e-05/0.5084, allocations: 31.92 kB / 0.6068 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.783e-05/0.5085, allocations: 27.86 kB / 0.6068 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.5085, allocations: 4 kB / 0.6068 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.5096, allocations: 490.8 kB / 0.6073 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.5096, allocations: 11.92 kB / 0.6073 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.605e-05/0.5097, allocations: 57.56 kB / 0.6073 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.5102, allocations: 311.3 kB / 0.6076 GB, free: 12.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5102, allocations: 0 / 0.6076 GB, free: 12.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5102, allocations: 4 kB / 0.6076 GB, free: 12.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.5102, allocations: 0 / 0.6076 GB, free: 12.77 MB / 446.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.0005241/0.5107, allocations: 399.9 kB / 0.608 GB, free: 12.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.5108, allocations: 15.97 kB / 0.608 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.5108, allocations: 1.312 kB / 0.608 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.511, allocations: 167 kB / 0.6082 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.511, allocations: 4.875 kB / 0.6082 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.511, allocations: 7.906 kB / 0.6082 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.5112, allocations: 73.66 kB / 0.6083 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.5112, allocations: 4 kB / 0.6083 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.5112, allocations: 7.984 kB / 0.6083 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.5112, allocations: 0 / 0.6083 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.285e-05/0.5113, allocations: 51.91 kB / 0.6083 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004403/0.5117, allocations: 381.8 kB / 0.6087 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.5119, allocations: 62.55 kB / 0.6088 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.544e-05/0.5119, allocations: 28.98 kB / 0.6088 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001843/0.5138, allocations: 1.236 MB / 0.61 GB, free: 9.945 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.5138, allocations: 30.56 kB / 0.61 GB, free: 9.906 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.5138, allocations: 0 / 0.61 GB, free: 9.906 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.00747/0.5213, allocations: 0.6609 MB / 0.6107 GB, free: 9.238 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.5213, allocations: 55.41 kB / 0.6107 GB, free: 9.172 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.642e-05/0.5214, allocations: 108.8 kB / 0.6108 GB, free: 9.059 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.5215, allocations: 33.7 kB / 0.6109 GB, free: 9.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.442e-05/0.5215, allocations: 92.31 kB / 0.6109 GB, free: 8.926 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.925e-05/0.5216, allocations: 47.3 kB / 0.611 GB, free: 8.879 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.5217, allocations: 21.7 kB / 0.611 GB, free: 8.852 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.5218, allocations: 314.8 kB / 0.6113 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.522, allocations: 83.94 kB / 0.6114 GB, free: 8.453 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.5222, allocations: 107.2 kB / 0.6115 GB, free: 8.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/0.5227, allocations: 200 kB / 0.6117 GB, free: 8.137 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.5227, allocations: 0 / 0.6117 GB, free: 8.137 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005883/0.5233, allocations: 257.3 kB / 0.6119 GB, free: 7.879 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.5233, allocations: 11.98 kB / 0.6119 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5233, allocations: 0 / 0.6119 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.5234, allocations: 4.062 kB / 0.6119 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007329/0.5241, allocations: 47.95 kB / 0.612 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.5241, allocations: 3.984 kB / 0.612 GB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005921/0.5247, allocations: 12 kB / 0.612 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.5248, allocations: 15.98 kB / 0.612 GB, free: 7.785 MB / 446.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.0001257/0.5249, allocations: 121.7 kB / 0.6121 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/0.5249, allocations: 7.906 kB / 0.6121 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008087/0.5258, allocations: 352.8 kB / 0.6125 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.5258, allocations: 0 / 0.6125 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5258, allocations: 4 kB / 0.6125 GB, free: 7.293 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.5258, allocations: 4 kB / 0.6125 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.5269, allocations: 0.7523 MB / 0.6132 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5269, allocations: 0 / 0.6132 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006681/0.5276, allocations: 51.89 kB / 0.6133 GB, free: 6.398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.5276, allocations: 0 / 0.6133 GB, free: 6.398 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.5276, allocations: 11.05 kB / 0.6133 GB, free: 6.391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5276, allocations: 4 kB / 0.6133 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5276, allocations: 0 / 0.6133 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/0.5282, allocations: 357.7 kB / 0.6136 GB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.105e-05/0.5283, allocations: 101 kB / 0.6137 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.5284, allocations: 8 kB / 0.6137 GB, free: 5.898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005899/0.529, allocations: 7.984 kB / 0.6137 GB, free: 5.891 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.972e-05/0.5291, allocations: 31.84 kB / 0.6138 GB, free: 5.859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.5291, allocations: 8 kB / 0.6138 GB, free: 5.852 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.991e-05/0.5291, allocations: 83.27 kB / 0.6139 GB, free: 5.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5291, allocations: 4 kB / 0.6139 GB, free: 5.766 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004419/0.5296, allocations: 95.92 kB / 0.6139 GB, free: 5.672 MB / 446.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.0004255/0.53, allocations: 227.5 kB / 0.6142 GB, free: 5.438 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005085/0.5305, allocations: 211 kB / 0.6144 GB, free: 5.234 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5306, allocations: 0 / 0.6144 GB, free: 5.234 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000244/0.5308, allocations: 119.9 kB / 0.6145 GB, free: 5.117 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.5312, allocations: 30.78 kB / 0.6145 GB, free: 5.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006022/0.5318, allocations: 312.2 kB / 0.6148 GB, free: 4.762 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.5321, allocations: 0.6965 MB / 0.6155 GB, free: 4.039 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004921/0.5326, allocations: 68.73 kB / 0.6156 GB, free: 3.973 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.5328, allocations: 31.39 kB / 0.6156 GB, free: 3.941 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5328, allocations: 0 / 0.6156 GB, free: 3.941 MB / 446.1 MB Notification: Performance of Templates: time 0.01019/0.543, allocations: 5.961 MB / 0.6214 GB, free: 13.97 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches