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.001577/0.001577, allocations: 112.2 kB / 17.04 MB, free: 5.812 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.001632/0.001632, allocations: 195 kB / 17.97 MB, free: 5.027 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.284/1.284, allocations: 205.1 MB / 223.8 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.2227/0.2227, allocations: 43.53 MB / 314.7 MB, free: 484 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.001356/0.001356, allocations: 62.06 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08603/0.08741, allocations: 57.79 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3816/0.469, allocations: 153.1 MB / 0.5811 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003525/0.4726, allocations: 3.635 MB / 0.5847 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.454e-05/0.4726, allocations: 2.875 kB / 0.5847 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.4728, allocations: 36.2 kB / 0.5847 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.288e-05/0.4729, allocations: 31.12 kB / 0.5847 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.4741, allocations: 435.3 kB / 0.5852 GB, free: 11.99 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.592e-05/0.4742, allocations: 70.31 kB / 0.5852 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.4743, allocations: 4.781 kB / 0.5852 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.246e-05/0.4743, allocations: 30.5 kB / 0.5853 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.131e-05/0.4744, allocations: 25.08 kB / 0.5853 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.4744, allocations: 2.906 kB / 0.5853 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.4754, allocations: 0.5003 MB / 0.5858 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.4755, allocations: 8.453 kB / 0.5858 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.533e-05/0.4755, allocations: 29.03 kB / 0.5858 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004895/0.476, allocations: 311.2 kB / 0.5861 GB, free: 11.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.476, allocations: 0 / 0.5861 GB, free: 11.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.476, allocations: 0 / 0.5861 GB, free: 11.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.476, allocations: 0 / 0.5861 GB, free: 11.81 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.0005536/0.4766, allocations: 402.5 kB / 0.5865 GB, free: 11.42 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.4766, allocations: 10.22 kB / 0.5865 GB, free: 11.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.4767, allocations: 17.2 kB / 0.5865 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.4768, allocations: 167.7 kB / 0.5867 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.4768, allocations: 3 kB / 0.5867 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.4769, allocations: 12.33 kB / 0.5867 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.477, allocations: 75.67 kB / 0.5868 GB, free: 11.15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.477, allocations: 8.656 kB / 0.5868 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.477, allocations: 0 / 0.5868 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.477, allocations: 2.75 kB / 0.5868 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.751e-05/0.4771, allocations: 50.33 kB / 0.5868 GB, free: 11.13 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.4776, allocations: 383 kB / 0.5872 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.4778, allocations: 65.05 kB / 0.5873 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.377e-05/0.4778, allocations: 21.94 kB / 0.5873 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001802/0.4796, allocations: 1.229 MB / 0.5885 GB, free: 9.414 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.4797, allocations: 41.11 kB / 0.5885 GB, free: 9.367 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.4797, allocations: 0 / 0.5885 GB, free: 9.367 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.006621/0.4863, allocations: 0.6626 MB / 0.5892 GB, free: 9.156 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.4863, allocations: 51.41 kB / 0.5892 GB, free: 9.094 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.35e-05/0.4864, allocations: 106.5 kB / 0.5893 GB, free: 8.992 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.4865, allocations: 29.02 kB / 0.5893 GB, free: 8.961 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.568e-05/0.4865, allocations: 86.73 kB / 0.5894 GB, free: 8.875 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.4866, allocations: 46.61 kB / 0.5895 GB, free: 8.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.4867, allocations: 45.14 kB / 0.5895 GB, free: 8.812 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.762e-05/0.4868, allocations: 320.9 kB / 0.5898 GB, free: 8.496 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.487, allocations: 84.38 kB / 0.5899 GB, free: 8.477 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.4872, allocations: 102.9 kB / 0.59 GB, free: 8.438 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.4876, allocations: 204.5 kB / 0.5902 GB, free: 8.391 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4876, allocations: 0 / 0.5902 GB, free: 8.391 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005352/0.4881, allocations: 252.6 kB / 0.5904 GB, free: 8.312 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4881, allocations: 5.906 kB / 0.5904 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.4882, allocations: 2.812 kB / 0.5904 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.4882, allocations: 0.5625 kB / 0.5904 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006661/0.4889, allocations: 51.22 kB / 0.5905 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.4889, allocations: 5.781 kB / 0.5905 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005242/0.4894, allocations: 17.55 kB / 0.5905 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.803e-05/0.4895, allocations: 11.42 kB / 0.5905 GB, free: 8.289 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.4896, allocations: 127.4 kB / 0.5906 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.4896, allocations: 16.66 kB / 0.5907 GB, free: 8.152 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007235/0.4904, allocations: 339.5 kB / 0.591 GB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.4904, allocations: 6.625 kB / 0.591 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.4904, allocations: 3.938 kB / 0.591 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4904, allocations: 3.938 kB / 0.591 GB, free: 8.027 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.4914, allocations: 0.7566 MB / 0.5917 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.4915, allocations: 0 / 0.5917 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006038/0.4921, allocations: 44.59 kB / 0.5918 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.4921, allocations: 3.984 kB / 0.5918 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.4921, allocations: 10.14 kB / 0.5918 GB, free: 7.434 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4921, allocations: 4 kB / 0.5918 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4921, allocations: 2.688 kB / 0.5918 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005795/0.4927, allocations: 356.4 kB / 0.5921 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.4929, allocations: 104.7 kB / 0.5922 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.4929, allocations: 0 / 0.5922 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005301/0.4934, allocations: 14.98 kB / 0.5923 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.4935, allocations: 15.45 kB / 0.5923 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/0.4935, allocations: 12.42 kB / 0.5923 GB, free: 7.133 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.714e-05/0.4936, allocations: 83.94 kB / 0.5924 GB, free: 7.055 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4936, allocations: 0 / 0.5924 GB, free: 7.055 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000448/0.4941, allocations: 103 kB / 0.5925 GB, free: 7.035 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 (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.0004261/0.4945, allocations: 218.4 kB / 0.5927 GB, free: 6.902 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004968/0.495, allocations: 206.1 kB / 0.5929 GB, free: 6.863 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.495, allocations: 0 / 0.5929 GB, free: 6.863 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000223/0.4952, allocations: 120.9 kB / 0.593 GB, free: 6.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.4957, allocations: 37.41 kB / 0.593 GB, free: 6.824 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005708/0.4963, allocations: 267.8 kB / 0.5933 GB, free: 6.652 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.4966, allocations: 0.694 MB / 0.5939 GB, free: 5.949 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003224/0.4969, allocations: 72.05 kB / 0.594 GB, free: 5.895 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.4971, allocations: 30.56 kB / 0.594 GB, free: 5.883 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4971, allocations: 0 / 0.594 GB, free: 5.883 MB / 430.1 MB Notification: Performance of Templates: time 0.009919/0.507, allocations: 6.227 MB / 0.6001 GB, free: 2.637 MB / 430.1 MB 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 -s gbode -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