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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 187.4 kB / 18.09 MB, free: 3.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.3 MB / 242.1 MB, free: 9.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008677/0.0008675, allocations: 103.2 kB / 293.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3159/0.3159, allocations: 44.15 MB / 388.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005118/0.0005119, allocations: 12 kB / 461.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3095, allocations: 61.88 MB / 0.5107 GB, free: 37.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8713/1.181, allocations: 472.1 MB / 0.9718 GB, free: 130 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/1.181, allocations: 82.12 kB / 0.9718 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.07284/1.254, allocations: 41.28 MB / 1.012 GB, free: 88.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.204e-06/1.254, allocations: 0 / 1.012 GB, free: 88.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.703e-06/1.254, allocations: 0 / 1.012 GB, free: 88.34 MB / 0.5261 GB 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.0005199/1.255, allocations: 412.2 kB / 1.013 GB, free: 87.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/1.255, allocations: 15.91 kB / 1.013 GB, free: 87.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/1.255, allocations: 8.844 kB / 1.013 GB, free: 87.87 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.881e-05/1.255, allocations: 172.3 kB / 1.013 GB, free: 87.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/1.255, allocations: 4.375 kB / 1.013 GB, free: 87.66 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/1.255, allocations: 12.36 kB / 1.013 GB, free: 87.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/1.255, allocations: 68.61 kB / 1.013 GB, free: 87.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/1.255, allocations: 4.094 kB / 1.013 GB, free: 87.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/1.255, allocations: 3.938 kB / 1.013 GB, free: 87.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/1.255, allocations: 4 kB / 1.013 GB, free: 87.56 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.34e-05/1.255, allocations: 47.91 kB / 1.013 GB, free: 87.52 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/1.255, allocations: 377.9 kB / 1.013 GB, free: 87.08 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.941e-05/1.256, allocations: 62.55 kB / 1.013 GB, free: 87.01 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.225e-05/1.256, allocations: 20.98 kB / 1.013 GB, free: 86.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001226/1.257, allocations: 1.225 MB / 1.015 GB, free: 85.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/1.257, allocations: 30.56 kB / 1.015 GB, free: 85.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/1.257, allocations: 0 / 1.015 GB, free: 85.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.00459/1.261, allocations: 0.6494 MB / 1.015 GB, free: 84.82 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/1.262, allocations: 59.41 kB / 1.015 GB, free: 84.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.294e-05/1.262, allocations: 101.8 kB / 1.015 GB, free: 84.64 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/1.262, allocations: 33.7 kB / 1.015 GB, free: 84.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.89e-05/1.262, allocations: 92.25 kB / 1.015 GB, free: 84.51 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/1.262, allocations: 47.36 kB / 1.015 GB, free: 84.46 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/1.262, allocations: 0 / 1.015 GB, free: 84.46 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.463e-05/1.262, allocations: 318.8 kB / 1.016 GB, free: 84.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/1.262, allocations: 83.88 kB / 1.016 GB, free: 84.06 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/1.262, allocations: 107.2 kB / 1.016 GB, free: 83.95 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/1.262, allocations: 190.5 kB / 1.016 GB, free: 83.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/1.262, allocations: 0 / 1.016 GB, free: 83.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000446/1.263, allocations: 246.5 kB / 1.016 GB, free: 83.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.263, allocations: 12.05 kB / 1.016 GB, free: 83.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/1.263, allocations: 7.938 kB / 1.016 GB, free: 83.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/1.263, allocations: 0 / 1.016 GB, free: 83.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/1.263, allocations: 47.95 kB / 1.016 GB, free: 83.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/1.263, allocations: 4 kB / 1.016 GB, free: 83.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/1.264, allocations: 19.92 kB / 1.016 GB, free: 83.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/1.264, allocations: 15.98 kB / 1.017 GB, free: 83.4 MB / 0.5261 GB 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 8.136e-05/1.264, allocations: 121.8 kB / 1.017 GB, free: 83.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/1.264, allocations: 11.89 kB / 1.017 GB, free: 83.26 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006871/1.265, allocations: 339.6 kB / 1.017 GB, free: 82.92 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/1.265, allocations: 4 kB / 1.017 GB, free: 82.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.265, allocations: 0 / 1.017 GB, free: 82.91 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.265, allocations: 3.938 kB / 1.017 GB, free: 82.91 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008254/1.266, allocations: 0.7422 MB / 1.018 GB, free: 82.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.266, allocations: 0 / 1.018 GB, free: 82.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/1.266, allocations: 52.16 kB / 1.018 GB, free: 82.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/1.266, allocations: 3.938 kB / 1.018 GB, free: 82.03 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/1.266, allocations: 12 kB / 1.018 GB, free: 82.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/1.266, allocations: 0 / 1.018 GB, free: 82.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.266, allocations: 3.984 kB / 1.018 GB, free: 82.01 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004573/1.267, allocations: 342.2 kB / 1.018 GB, free: 81.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.631e-05/1.267, allocations: 104.9 kB / 1.018 GB, free: 81.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/1.267, allocations: 8 kB / 1.018 GB, free: 81.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/1.267, allocations: 8 kB / 1.018 GB, free: 81.53 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/1.267, allocations: 23.91 kB / 1.018 GB, free: 81.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/1.267, allocations: 4 kB / 1.018 GB, free: 81.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.481e-05/1.267, allocations: 87.27 kB / 1.018 GB, free: 81.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/1.267, allocations: 0 / 1.018 GB, free: 81.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005328/1.268, allocations: 139.9 kB / 1.018 GB, free: 81.28 MB / 0.5261 GB 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.0008287/1.268, allocations: 0.6352 MB / 1.019 GB, free: 80.64 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004218/1.269, allocations: 211.8 kB / 1.019 GB, free: 80.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.269, allocations: 0 / 1.019 GB, free: 80.43 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001909/1.269, allocations: 111.9 kB / 1.019 GB, free: 80.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/1.269, allocations: 29.92 kB / 1.019 GB, free: 80.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005453/1.27, allocations: 306.8 kB / 1.02 GB, free: 79.97 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/1.27, allocations: 0.7043 MB / 1.02 GB, free: 79.24 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004758/1.271, allocations: 64.75 kB / 1.02 GB, free: 79.17 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/1.271, allocations: 31.39 kB / 1.02 GB, free: 79.14 MB / 0.5261 GB Notification: Performance of SimCode: time 2.21e-07/1.271, allocations: 3.938 kB / 1.02 GB, free: 79.14 MB / 0.5261 GB Notification: Performance of Templates: time 0.01465/1.285, allocations: 12.57 MB / 1.033 GB, free: 66.55 MB / 0.5261 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches