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.001337/0.001337, allocations: 111.3 kB / 18.45 MB, free: 4.621 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.001375/0.001375, allocations: 186.2 kB / 19.38 MB, free: 3.699 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.282/1.282, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1972/0.1972, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 55.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3021, allocations: 60.82 MB / 0.5195 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1567/0.4588, allocations: 151.5 MB / 0.6675 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.4604, allocations: 1.203 MB / 0.6687 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.671e-05/0.4605, allocations: 4 kB / 0.6687 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.4607, allocations: 31.8 kB / 0.6687 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.913e-05/0.4608, allocations: 27.72 kB / 0.6687 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.4621, allocations: 437.9 kB / 0.6691 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.4622, allocations: 71.55 kB / 0.6692 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.4623, allocations: 7.656 kB / 0.6692 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.653e-05/0.4624, allocations: 35.91 kB / 0.6692 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.1e-05/0.4625, allocations: 27.86 kB / 0.6693 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.4625, allocations: 4 kB / 0.6693 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.4636, allocations: 494.7 kB / 0.6697 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.4636, allocations: 15.92 kB / 0.6698 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.83e-05/0.4636, allocations: 27.86 kB / 0.6698 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005952/0.4642, allocations: 301.4 kB / 0.6701 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4643, allocations: 0 / 0.6701 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4643, allocations: 4 kB / 0.6701 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.4643, allocations: 0 / 0.6701 GB, free: 1.344 MB / 0.5137 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.0006039/0.4649, allocations: 411.3 kB / 0.6705 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.4649, allocations: 8.031 kB / 0.6705 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.465, allocations: 8.875 kB / 0.6705 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.4651, allocations: 174.9 kB / 0.6707 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.4651, allocations: 0 / 0.6707 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.4652, allocations: 8 kB / 0.6707 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.4653, allocations: 69.61 kB / 0.6707 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.4653, allocations: 8 kB / 0.6707 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.4653, allocations: 4 kB / 0.6707 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.4653, allocations: 0 / 0.6707 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.77e-05/0.4654, allocations: 55.91 kB / 0.6708 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.4659, allocations: 377.8 kB / 0.6712 GB, free: 84 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.466, allocations: 58.56 kB / 0.6712 GB, free: 16 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.844e-05/0.4661, allocations: 25.03 kB / 0.6712 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001886/0.468, allocations: 1.236 MB / 0.6724 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.468, allocations: 42.5 kB / 0.6725 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 2.675e-06/0.468, allocations: 3.984 kB / 0.6725 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.006981/0.475, allocations: 0.657 MB / 0.6731 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.475, allocations: 55.41 kB / 0.6732 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.993e-05/0.4751, allocations: 105.8 kB / 0.6733 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.4752, allocations: 29.7 kB / 0.6733 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.4752, allocations: 96.27 kB / 0.6734 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/0.4753, allocations: 47.34 kB / 0.6734 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.4754, allocations: 49.58 kB / 0.6735 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.4755, allocations: 314.8 kB / 0.6738 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.4757, allocations: 79.94 kB / 0.6739 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.476, allocations: 105.8 kB / 0.674 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004381/0.4764, allocations: 210.1 kB / 0.6742 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.4764, allocations: 0 / 0.6742 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005435/0.477, allocations: 249.6 kB / 0.6744 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.477, allocations: 4 kB / 0.6744 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.477, allocations: 0 / 0.6744 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.477, allocations: 8.625 kB / 0.6744 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/0.4777, allocations: 47.94 kB / 0.6745 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.4777, allocations: 4 kB / 0.6745 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005499/0.4783, allocations: 12.25 kB / 0.6745 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/0.4783, allocations: 11.98 kB / 0.6745 GB, free: 12.33 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001304/0.4785, allocations: 129.6 kB / 0.6746 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.612e-05/0.4785, allocations: 15.84 kB / 0.6746 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007617/0.4793, allocations: 337.5 kB / 0.675 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.4793, allocations: 4 kB / 0.675 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4793, allocations: 0 / 0.675 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.4794, allocations: 3.984 kB / 0.675 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.4804, allocations: 0.7578 MB / 0.6757 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.4805, allocations: 0 / 0.6757 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006678/0.4811, allocations: 51.89 kB / 0.6758 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4811, allocations: 0 / 0.6758 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.4812, allocations: 7.984 kB / 0.6758 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4812, allocations: 0 / 0.6758 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4812, allocations: 3.938 kB / 0.6758 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005715/0.4818, allocations: 363.2 kB / 0.6761 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.834e-05/0.4819, allocations: 101 kB / 0.6762 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.4819, allocations: 4 kB / 0.6762 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005519/0.4825, allocations: 8 kB / 0.6762 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/0.4826, allocations: 23.91 kB / 0.6762 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.4826, allocations: 11.92 kB / 0.6763 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.799e-05/0.4826, allocations: 83.28 kB / 0.6763 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4826, allocations: 0 / 0.6763 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004354/0.4831, allocations: 103.9 kB / 0.6764 GB, free: 10.2 MB / 0.5294 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 (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.0004249/0.4835, allocations: 211.1 kB / 0.6766 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005086/0.484, allocations: 211.8 kB / 0.6768 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4841, allocations: 0 / 0.6768 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002424/0.4843, allocations: 121.8 kB / 0.677 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.4847, allocations: 28.16 kB / 0.677 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005918/0.4853, allocations: 286 kB / 0.6773 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.4856, allocations: 0.7 MB / 0.6779 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.4858, allocations: 35.39 kB / 0.678 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of SimCode: time 2.51e-07/0.4858, allocations: 0 / 0.678 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of Templates: time 0.006441/0.4923, allocations: 4.072 MB / 0.6819 GB, free: 4.48 MB / 0.5294 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","/var/lib/jenkins1/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