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.00121/0.00121, allocations: 110.7 kB / 18.45 MB, free: 4.617 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.001242/0.001242, allocations: 191.1 kB / 19.39 MB, free: 3.688 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.391/1.391, 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.2086/0.2086, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 59.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3274, allocations: 60.81 MB / 0.5196 GB, free: 3.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.166/0.4934, allocations: 151.5 MB / 0.6675 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.495, allocations: 1.191 MB / 0.6687 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.4951, allocations: 0 / 0.6687 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.4952, allocations: 43.78 kB / 0.6687 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.199e-05/0.4953, allocations: 23.78 kB / 0.6687 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.4966, allocations: 437.8 kB / 0.6691 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.4968, allocations: 79.47 kB / 0.6692 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.4968, allocations: 0 / 0.6692 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.888e-05/0.4969, allocations: 31.91 kB / 0.6693 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.288e-05/0.497, allocations: 27.92 kB / 0.6693 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.497, allocations: 0 / 0.6693 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.4981, allocations: 0.4985 MB / 0.6698 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.4981, allocations: 7.938 kB / 0.6698 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.293e-05/0.4982, allocations: 31.86 kB / 0.6698 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005833/0.4988, allocations: 304 kB / 0.6701 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4988, allocations: 4 kB / 0.6701 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4988, allocations: 0 / 0.6701 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.4988, allocations: 0 / 0.6701 GB, free: 1.234 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.0005621/0.4994, allocations: 410.8 kB / 0.6705 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.4994, allocations: 8.031 kB / 0.6705 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.4995, allocations: 12.89 kB / 0.6705 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.4996, allocations: 170.9 kB / 0.6707 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.4996, allocations: 8 kB / 0.6707 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.4996, allocations: 4 kB / 0.6707 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.4998, allocations: 73.64 kB / 0.6708 GB, free: 480 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4998, allocations: 3.953 kB / 0.6708 GB, free: 476 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.4998, allocations: 4 kB / 0.6708 GB, free: 472 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4998, allocations: 4 kB / 0.6708 GB, free: 468 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.947e-05/0.4999, allocations: 43.97 kB / 0.6708 GB, free: 424 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.5004, allocations: 393.8 kB / 0.6712 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.5005, allocations: 54.56 kB / 0.6712 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.472e-05/0.5005, allocations: 20.84 kB / 0.6713 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001842/0.5024, allocations: 1.236 MB / 0.6725 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.5024, allocations: 46.62 kB / 0.6725 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.5024, allocations: 0 / 0.6725 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.006925/0.5093, allocations: 0.6614 MB / 0.6732 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.5094, allocations: 51.5 kB / 0.6732 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.346e-05/0.5095, allocations: 109.8 kB / 0.6733 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.5095, allocations: 29.7 kB / 0.6733 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/0.5096, allocations: 84.38 kB / 0.6734 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/0.5096, allocations: 55.53 kB / 0.6735 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.5097, allocations: 41.67 kB / 0.6735 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.5099, allocations: 318.8 kB / 0.6738 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.5101, allocations: 91.88 kB / 0.6739 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.5103, allocations: 102.5 kB / 0.674 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004325/0.5107, allocations: 198.4 kB / 0.6742 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.5108, allocations: 3.938 kB / 0.6742 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005585/0.5113, allocations: 249.6 kB / 0.6744 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.5113, allocations: 4 kB / 0.6744 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.5114, allocations: 4 kB / 0.6744 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.5114, allocations: 7.922 kB / 0.6744 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006673/0.5121, allocations: 47.95 kB / 0.6745 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.5121, allocations: 0 / 0.6745 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005098/0.5126, allocations: 19.98 kB / 0.6745 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.5126, allocations: 16.05 kB / 0.6745 GB, free: 12.2 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.0001196/0.5128, allocations: 121.7 kB / 0.6746 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.5128, allocations: 7.953 kB / 0.6746 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007995/0.5136, allocations: 353.3 kB / 0.675 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5136, allocations: 0 / 0.675 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5136, allocations: 0 / 0.675 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.5138, allocations: 105 kB / 0.6751 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.5138, allocations: 0 / 0.6751 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005109/0.5143, allocations: 11.98 kB / 0.6751 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.5144, allocations: 15.92 kB / 0.6751 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001046/0.5154, allocations: 366.9 kB / 0.6755 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006368/0.5161, allocations: 438.6 kB / 0.6759 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002351/0.5163, allocations: 110 kB / 0.676 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.17e-05/0.5164, allocations: 87.53 kB / 0.6761 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of Backend: time 2.244e-06/0.5164, allocations: 0 / 0.6761 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009889/0.5174, allocations: 333.8 kB / 0.6764 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0006443/0.5181, allocations: 0.649 MB / 0.677 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of Templates: time 0.01018/0.5283, allocations: 6.324 MB / 0.6832 GB, free: 3.203 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