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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.001176/0.001177, allocations: 181 kB / 18.71 MB, free: 4.207 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.428/1.428, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2267/0.2267, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 60.12 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3602, allocations: 60.83 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1856/0.5459, allocations: 151.5 MB / 0.6664 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.5476, allocations: 1.195 MB / 0.6675 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.196e-05/0.5477, allocations: 0 / 0.6675 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.5479, allocations: 39.8 kB / 0.6676 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.474e-05/0.548, allocations: 31.7 kB / 0.6676 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.5493, allocations: 433.9 kB / 0.668 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.5494, allocations: 71.53 kB / 0.6681 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.456e-05/0.5494, allocations: 8 kB / 0.6681 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.5496, allocations: 31.86 kB / 0.6681 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.778e-05/0.5496, allocations: 23.91 kB / 0.6681 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.5496, allocations: 0 / 0.6681 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.5508, allocations: 0.4986 MB / 0.6686 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.5508, allocations: 11.92 kB / 0.6686 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.5508, allocations: 23.88 kB / 0.6687 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005601/0.5514, allocations: 307.1 kB / 0.6689 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5514, allocations: 0 / 0.6689 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5514, allocations: 0 / 0.6689 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.5514, allocations: 0 / 0.6689 GB, free: 1.395 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.0006004/0.552, allocations: 410.8 kB / 0.6693 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.5521, allocations: 11.97 kB / 0.6693 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.745e-05/0.5521, allocations: 46.73 kB / 0.6694 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.5522, allocations: 12.64 kB / 0.6694 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.5523, allocations: 159.1 kB / 0.6696 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.5523, allocations: 8 kB / 0.6696 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.5523, allocations: 4 kB / 0.6696 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.5525, allocations: 69.66 kB / 0.6696 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.5525, allocations: 3.953 kB / 0.6696 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.5525, allocations: 7.938 kB / 0.6696 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.5526, allocations: 0 / 0.6696 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.213e-05/0.5526, allocations: 55.84 kB / 0.6697 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.5531, allocations: 385.9 kB / 0.6701 GB, free: 76 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.5532, allocations: 66.48 kB / 0.6701 GB, free: 0 / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.705e-05/0.5533, allocations: 16.94 kB / 0.6701 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001927/0.5552, allocations: 1.236 MB / 0.6714 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.5553, allocations: 34.56 kB / 0.6714 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.5553, allocations: 0 / 0.6714 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.006716/0.562, allocations: 0.6649 MB / 0.672 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.5621, allocations: 59.33 kB / 0.6721 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.492e-05/0.5622, allocations: 101.9 kB / 0.6722 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.5622, allocations: 29.7 kB / 0.6722 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.187e-05/0.5623, allocations: 88.36 kB / 0.6723 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.074e-05/0.5624, allocations: 55.53 kB / 0.6724 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.5625, allocations: 41.67 kB / 0.6724 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.5626, allocations: 322.8 kB / 0.6727 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.5629, allocations: 83.94 kB / 0.6728 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.5631, allocations: 104.9 kB / 0.6729 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/0.5636, allocations: 202.2 kB / 0.6731 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.5636, allocations: 4 kB / 0.6731 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005777/0.5642, allocations: 245.6 kB / 0.6733 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.5642, allocations: 10.95 kB / 0.6733 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.5642, allocations: 4 kB / 0.6733 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.5642, allocations: 0 / 0.6733 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006865/0.5649, allocations: 47.95 kB / 0.6734 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.5649, allocations: 0.5625 kB / 0.6734 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005382/0.5655, allocations: 20.05 kB / 0.6734 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.661e-05/0.5655, allocations: 15.98 kB / 0.6734 GB, free: 12.32 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.000133/0.5657, allocations: 121.7 kB / 0.6735 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.457e-05/0.5657, allocations: 8.203 kB / 0.6735 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008268/0.5666, allocations: 361.3 kB / 0.6739 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5666, allocations: 0 / 0.6739 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.5666, allocations: 4 kB / 0.6739 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5666, allocations: 0 / 0.6739 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.5678, allocations: 0.7541 MB / 0.6746 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5679, allocations: 0 / 0.6746 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006223/0.5685, allocations: 47.91 kB / 0.6747 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.5685, allocations: 0 / 0.6747 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.5685, allocations: 15.92 kB / 0.6747 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.5685, allocations: 3.938 kB / 0.6747 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5686, allocations: 0 / 0.6747 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006068/0.5692, allocations: 347.4 kB / 0.675 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.5693, allocations: 101 kB / 0.6751 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.5693, allocations: 15.88 kB / 0.6751 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005369/0.5699, allocations: 11.92 kB / 0.6751 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.5699, allocations: 19.98 kB / 0.6752 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.57, allocations: 11.98 kB / 0.6752 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.921e-05/0.57, allocations: 87.27 kB / 0.6753 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.57, allocations: 0 / 0.6753 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004428/0.5705, allocations: 95.75 kB / 0.6753 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.001245/0.5717, allocations: 0.9953 MB / 0.6763 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005457/0.5723, allocations: 215.8 kB / 0.6765 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5723, allocations: 0 / 0.6765 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.5726, allocations: 119.9 kB / 0.6766 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.573, allocations: 27.92 kB / 0.6767 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008628/0.5739, allocations: 333.6 kB / 0.677 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.5743, allocations: 0.7 MB / 0.6777 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003334/0.5746, allocations: 68.94 kB / 0.6777 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.5748, allocations: 47.39 kB / 0.6778 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of SimCode: time 2.51e-07/0.5748, allocations: 0 / 0.6778 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.6043, allocations: 7.566 MB / 0.6852 GB, free: 112 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.321/8.925, allocations: 1.031 kB / 0.6852 GB, free: 112 kB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > 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