Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_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.001157/0.001157, allocations: 105.2 kB / 16.4 MB, free: 6.496 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.001116/0.001116, allocations: 189.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2085/0.2085, allocations: 43.52 MB / 314.1 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 65.47 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1118, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4249/0.5367, allocations: 153.1 MB / 0.6369 GB, free: 1.715 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004573/0.5414, allocations: 3.629 MB / 0.6405 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/0.5415, allocations: 0 / 0.6405 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.5417, allocations: 39.8 kB / 0.6405 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.412e-05/0.5418, allocations: 31.77 kB / 0.6405 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.5433, allocations: 433.8 kB / 0.6409 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.5434, allocations: 71.55 kB / 0.641 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.461e-05/0.5435, allocations: 3.984 kB / 0.641 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.616e-05/0.5436, allocations: 31.94 kB / 0.641 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.567e-05/0.5436, allocations: 27.91 kB / 0.6411 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.5436, allocations: 0 / 0.6411 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.5447, allocations: 0.4947 MB / 0.6416 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.5448, allocations: 11.92 kB / 0.6416 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.5448, allocations: 31.88 kB / 0.6416 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005131/0.5453, allocations: 299.5 kB / 0.6419 GB, free: 12.63 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5454, allocations: 3.938 kB / 0.6419 GB, free: 12.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5454, allocations: 0 / 0.6419 GB, free: 12.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.577e-06/0.5454, allocations: 0 / 0.6419 GB, free: 12.62 MB / 494.1 MB 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.0008357/0.5462, allocations: 411.3 kB / 0.6423 GB, free: 12.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.5463, allocations: 11.89 kB / 0.6423 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.446e-05/0.5463, allocations: 46.67 kB / 0.6423 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.5464, allocations: 4.844 kB / 0.6423 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.5466, allocations: 175.5 kB / 0.6425 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.5466, allocations: 4 kB / 0.6425 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.5466, allocations: 8 kB / 0.6425 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.5468, allocations: 74.53 kB / 0.6426 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.5469, allocations: 7.906 kB / 0.6426 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.5469, allocations: 0 / 0.6426 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.5469, allocations: 0 / 0.6426 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.547, allocations: 55.91 kB / 0.6427 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.5476, allocations: 373.8 kB / 0.643 GB, free: 11.31 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.5477, allocations: 70.55 kB / 0.6431 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.018e-05/0.5478, allocations: 20.98 kB / 0.6431 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002047/0.5498, allocations: 1.236 MB / 0.6443 GB, free: 9.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.5499, allocations: 34.56 kB / 0.6443 GB, free: 9.688 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.123e-06/0.5499, allocations: 0 / 0.6443 GB, free: 9.688 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.006685/0.5566, allocations: 0.6608 MB / 0.645 GB, free: 9.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.5567, allocations: 63.47 kB / 0.645 GB, free: 8.945 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.81e-05/0.5567, allocations: 97.86 kB / 0.6451 GB, free: 8.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.5568, allocations: 33.7 kB / 0.6452 GB, free: 8.801 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.405e-05/0.5568, allocations: 92.25 kB / 0.6453 GB, free: 8.707 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.5569, allocations: 43.92 kB / 0.6453 GB, free: 8.664 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.557, allocations: 45.67 kB / 0.6453 GB, free: 8.613 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.5572, allocations: 314.8 kB / 0.6456 GB, free: 8.297 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.5574, allocations: 83.88 kB / 0.6457 GB, free: 8.215 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.5576, allocations: 114.5 kB / 0.6458 GB, free: 8.094 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000449/0.5581, allocations: 199.1 kB / 0.646 GB, free: 7.891 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5581, allocations: 3.938 kB / 0.646 GB, free: 7.887 MB / 494.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005744/0.5587, allocations: 253.3 kB / 0.6463 GB, free: 7.633 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.5587, allocations: 4 kB / 0.6463 GB, free: 7.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.5587, allocations: 0 / 0.6463 GB, free: 7.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.5587, allocations: 4 kB / 0.6463 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007352/0.5595, allocations: 55.58 kB / 0.6463 GB, free: 7.574 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.5595, allocations: 0 / 0.6463 GB, free: 7.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005142/0.56, allocations: 15.98 kB / 0.6463 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-05/0.5601, allocations: 15.98 kB / 0.6464 GB, free: 7.543 MB / 494.1 MB 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.0001219/0.5602, allocations: 125.8 kB / 0.6465 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.764e-05/0.5603, allocations: 11.84 kB / 0.6465 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007931/0.5611, allocations: 345 kB / 0.6468 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.5611, allocations: 0 / 0.6468 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.5611, allocations: 7.984 kB / 0.6468 GB, free: 7.051 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5611, allocations: 0 / 0.6468 GB, free: 7.051 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.5622, allocations: 0.7598 MB / 0.6476 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.5622, allocations: 0 / 0.6476 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006025/0.5628, allocations: 51.89 kB / 0.6476 GB, free: 6.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5629, allocations: 0 / 0.6476 GB, free: 6.145 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.5629, allocations: 4 kB / 0.6476 GB, free: 6.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.5629, allocations: 1.641 kB / 0.6476 GB, free: 6.141 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.5629, allocations: 0 / 0.6476 GB, free: 6.141 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005785/0.5635, allocations: 371.2 kB / 0.648 GB, free: 5.762 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.5636, allocations: 104.9 kB / 0.6481 GB, free: 5.641 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.5637, allocations: 4 kB / 0.6481 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005159/0.5642, allocations: 8 kB / 0.6481 GB, free: 5.629 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.5643, allocations: 23.91 kB / 0.6481 GB, free: 5.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.5643, allocations: 7.938 kB / 0.6481 GB, free: 5.598 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.445e-05/0.5643, allocations: 91.27 kB / 0.6482 GB, free: 5.508 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5643, allocations: 0 / 0.6482 GB, free: 5.508 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004525/0.5648, allocations: 99.98 kB / 0.6483 GB, free: 5.41 MB / 494.1 MB 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.001142/0.566, allocations: 0.9926 MB / 0.6493 GB, free: 4.395 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005149/0.5665, allocations: 211.8 kB / 0.6495 GB, free: 4.188 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5665, allocations: 4.062 kB / 0.6495 GB, free: 4.184 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002304/0.5667, allocations: 119.9 kB / 0.6496 GB, free: 4.066 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.5672, allocations: 43.58 kB / 0.6496 GB, free: 4.027 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000792/0.568, allocations: 318.3 kB / 0.6499 GB, free: 3.676 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.5682, allocations: 0.697 MB / 0.6506 GB, free: 2.953 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003156/0.5685, allocations: 64.73 kB / 0.6507 GB, free: 2.891 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.5688, allocations: 47.39 kB / 0.6507 GB, free: 2.844 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5688, allocations: 0 / 0.6507 GB, free: 2.844 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.5953, allocations: 7.719 MB / 0.6583 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.582/8.178, allocations: 8 kB / 0.6583 GB, free: 11.1 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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