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.001059/0.001059, allocations: 113.4 kB / 17.78 MB, free: 5.281 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.001004/0.001004, allocations: 184.9 kB / 18.71 MB, free: 4.359 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.322/1.322, 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.2035/0.2035, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 71.83 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3652, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1674/0.5326, allocations: 151.5 MB / 0.6663 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00186/0.5345, allocations: 1.195 MB / 0.6675 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.739e-05/0.5346, allocations: 0 / 0.6675 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.5349, allocations: 39.8 kB / 0.6675 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.136e-05/0.535, allocations: 31.7 kB / 0.6676 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.5368, allocations: 440.1 kB / 0.668 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000154/0.537, allocations: 67.59 kB / 0.6681 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.309e-05/0.5371, allocations: 3.984 kB / 0.6681 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.5372, allocations: 23.94 kB / 0.6681 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.482e-05/0.5373, allocations: 35.84 kB / 0.6681 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.5373, allocations: 0 / 0.6681 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.5387, allocations: 0.4948 MB / 0.6686 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.5388, allocations: 11.92 kB / 0.6686 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.5388, allocations: 27.88 kB / 0.6686 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008004/0.5396, allocations: 299.4 kB / 0.6689 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.5396, allocations: 8 kB / 0.6689 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of FrontEnd: time 5.31e-06/0.5397, allocations: 0 / 0.6689 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.5397, allocations: 3.938 kB / 0.6689 GB, free: 1.391 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.0008755/0.5405, allocations: 399.3 kB / 0.6693 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.677e-05/0.5406, allocations: 12.02 kB / 0.6693 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/0.5407, allocations: 42.69 kB / 0.6694 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.5407, allocations: 8.688 kB / 0.6694 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.5409, allocations: 167 kB / 0.6695 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.541, allocations: 0 / 0.6695 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.541, allocations: 8 kB / 0.6696 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.5412, allocations: 73.66 kB / 0.6696 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.5412, allocations: 4 kB / 0.6696 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.5413, allocations: 7.938 kB / 0.6696 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.5413, allocations: 0 / 0.6696 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.5414, allocations: 55.84 kB / 0.6697 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008159/0.5422, allocations: 377.8 kB / 0.67 GB, free: 92 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.5424, allocations: 62.73 kB / 0.6701 GB, free: 20 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.411e-05/0.5425, allocations: 24.8 kB / 0.6701 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002343/0.5449, allocations: 1.24 MB / 0.6713 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/0.5449, allocations: 34.56 kB / 0.6714 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.5449, allocations: 0 / 0.6714 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.006982/0.5519, allocations: 0.657 MB / 0.672 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.552, allocations: 63.33 kB / 0.6721 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.5521, allocations: 97.86 kB / 0.6722 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.5522, allocations: 29.7 kB / 0.6722 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.5522, allocations: 96.25 kB / 0.6723 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.75e-05/0.5523, allocations: 43.36 kB / 0.6723 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.5524, allocations: 49.58 kB / 0.6724 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.5525, allocations: 322.8 kB / 0.6727 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.5527, allocations: 79.94 kB / 0.6728 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.553, allocations: 102.5 kB / 0.6729 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/0.5534, allocations: 210.5 kB / 0.6731 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5534, allocations: 256 / 0.6731 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000574/0.554, allocations: 241.5 kB / 0.6733 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.554, allocations: 4 kB / 0.6733 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.554, allocations: 4 kB / 0.6733 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.5541, allocations: 4 kB / 0.6733 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006612/0.5547, allocations: 47.95 kB / 0.6733 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.5547, allocations: 4.562 kB / 0.6734 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005296/0.5553, allocations: 24.03 kB / 0.6734 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/0.5553, allocations: 11.98 kB / 0.6734 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.0001487/0.5555, allocations: 125.7 kB / 0.6735 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.02e-05/0.5556, allocations: 7.906 kB / 0.6735 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008396/0.5564, allocations: 349.4 kB / 0.6738 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.5564, allocations: 0 / 0.6738 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.5564, allocations: 0 / 0.6738 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.5565, allocations: 0 / 0.6738 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.5577, allocations: 0.7616 MB / 0.6746 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5578, allocations: 0 / 0.6746 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006163/0.5584, allocations: 47.91 kB / 0.6746 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.5584, allocations: 3.938 kB / 0.6746 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.5584, allocations: 11.98 kB / 0.6747 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.5584, allocations: 3.938 kB / 0.6747 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5585, allocations: 0 / 0.6747 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006055/0.5591, allocations: 351.3 kB / 0.675 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.5592, allocations: 101 kB / 0.6751 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.5592, allocations: 11.92 kB / 0.6751 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005474/0.5598, allocations: 19.88 kB / 0.6751 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.5599, allocations: 15.98 kB / 0.6751 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.383e-05/0.5599, allocations: 7.984 kB / 0.6751 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.554e-05/0.56, allocations: 87.27 kB / 0.6752 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.56, allocations: 0 / 0.6752 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000495/0.5605, allocations: 107.9 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.001337/0.5618, allocations: 0.9918 MB / 0.6763 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005385/0.5624, allocations: 215.8 kB / 0.6765 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5624, allocations: 0 / 0.6765 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.5626, allocations: 119.9 kB / 0.6766 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.5631, allocations: 26.83 kB / 0.6766 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008796/0.564, allocations: 337.9 kB / 0.677 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.5642, allocations: 0.7 MB / 0.6776 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003253/0.5646, allocations: 60.77 kB / 0.6777 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.5648, allocations: 47.38 kB / 0.6777 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.5648, allocations: 0 / 0.6777 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.591, allocations: 7.661 MB / 0.6852 GB, free: 28 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.574/8.165, allocations: 1.031 kB / 0.6852 GB, free: 28 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) "" Variables in the reference:time,T,eta,lambda,eta_der,lambda_der,eta2,lambda2,eta2_der,lambda2_der Variables in the result:T,Tmax,Tmin,der(T),der(eta),der(eta2),der(lambda),der(lambda2),eta,eta2,eta2_der,eta_der,lambda,lambda2,lambda2_der,lambda_der,state.T,state.p,state2.T,state2.p,time