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.001156/0.001156, allocations: 107.5 kB / 16.41 MB, free: 6.484 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.001184/0.001184, allocations: 188.1 kB / 17.34 MB, free: 5.766 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.324/1.324, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.216/0.216, allocations: 43.53 MB / 314.1 MB, free: 460 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.001409/0.001409, allocations: 67.91 kB / 441.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1058, allocations: 57.78 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3843/0.4901, allocations: 153.1 MB / 0.6369 GB, free: 1.777 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004479/0.4946, allocations: 3.635 MB / 0.6405 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.424e-05/0.4947, allocations: 4 kB / 0.6405 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.495, allocations: 39.78 kB / 0.6405 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.367e-05/0.4951, allocations: 27.78 kB / 0.6405 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.4965, allocations: 437.8 kB / 0.641 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.4966, allocations: 67.61 kB / 0.641 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.4967, allocations: 7.984 kB / 0.641 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.189e-05/0.4968, allocations: 35.91 kB / 0.6411 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.815e-05/0.4968, allocations: 19.94 kB / 0.6411 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.4968, allocations: 0 / 0.6411 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.4979, allocations: 0.4909 MB / 0.6416 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.4979, allocations: 15.92 kB / 0.6416 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.498, allocations: 27.86 kB / 0.6416 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005922/0.4986, allocations: 307.4 kB / 0.6419 GB, free: 12.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4986, allocations: 7.938 kB / 0.6419 GB, free: 12.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.4986, allocations: 0 / 0.6419 GB, free: 12.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.4986, allocations: 3.938 kB / 0.6419 GB, free: 12.67 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.0005651/0.4992, allocations: 403.3 kB / 0.6423 GB, free: 12.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.4992, allocations: 11.89 kB / 0.6423 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.378e-05/0.4993, allocations: 42.73 kB / 0.6423 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.4993, allocations: 8.844 kB / 0.6423 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.4994, allocations: 171.5 kB / 0.6425 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.4994, allocations: 8 kB / 0.6425 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.4995, allocations: 8 kB / 0.6425 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.4996, allocations: 73.66 kB / 0.6426 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.4997, allocations: 3.906 kB / 0.6426 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.4997, allocations: 4 kB / 0.6426 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.4997, allocations: 4 kB / 0.6426 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.846e-05/0.4998, allocations: 43.97 kB / 0.6426 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.5002, allocations: 377.8 kB / 0.643 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.5003, allocations: 66.55 kB / 0.6431 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.269e-05/0.5003, allocations: 16.86 kB / 0.6431 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00177/0.5021, allocations: 1.244 MB / 0.6443 GB, free: 9.789 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.5021, allocations: 34.56 kB / 0.6443 GB, free: 9.746 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.5022, allocations: 192 / 0.6443 GB, free: 9.746 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.006733/0.5089, allocations: 0.6646 MB / 0.645 GB, free: 9.074 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.5089, allocations: 51.53 kB / 0.645 GB, free: 9.012 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.162e-05/0.509, allocations: 107.3 kB / 0.6451 GB, free: 8.898 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.5091, allocations: 29.7 kB / 0.6452 GB, free: 8.863 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/0.5091, allocations: 92.25 kB / 0.6453 GB, free: 8.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/0.5092, allocations: 47.92 kB / 0.6453 GB, free: 8.723 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.5093, allocations: 41.67 kB / 0.6453 GB, free: 8.676 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.542e-05/0.5094, allocations: 314.8 kB / 0.6456 GB, free: 8.359 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.5096, allocations: 87.88 kB / 0.6457 GB, free: 8.273 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.5098, allocations: 115.6 kB / 0.6458 GB, free: 8.152 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004086/0.5102, allocations: 194.5 kB / 0.646 GB, free: 7.953 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5103, allocations: 3.938 kB / 0.646 GB, free: 7.949 MB / 494.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005415/0.5108, allocations: 253.4 kB / 0.6463 GB, free: 7.695 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.5108, allocations: 8 kB / 0.6463 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.5108, allocations: 0 / 0.6463 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.5109, allocations: 0 / 0.6463 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006809/0.5116, allocations: 51.89 kB / 0.6463 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.5116, allocations: 0 / 0.6463 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005477/0.5121, allocations: 19.98 kB / 0.6463 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.5122, allocations: 11.98 kB / 0.6464 GB, free: 7.605 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.0001217/0.5123, allocations: 121.8 kB / 0.6465 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.131e-05/0.5124, allocations: 16.75 kB / 0.6465 GB, free: 7.461 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008055/0.5132, allocations: 348.8 kB / 0.6468 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.5132, allocations: 4 kB / 0.6468 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5132, allocations: 0 / 0.6468 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5132, allocations: 4 kB / 0.6468 GB, free: 7.109 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.5143, allocations: 0.7559 MB / 0.6476 GB, free: 6.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.5143, allocations: 0 / 0.6476 GB, free: 6.258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006211/0.515, allocations: 48.7 kB / 0.6476 GB, free: 6.211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.515, allocations: 11.88 kB / 0.6476 GB, free: 6.199 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.515, allocations: 4 kB / 0.6476 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.515, allocations: 0 / 0.6476 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.515, allocations: 4 kB / 0.6476 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005911/0.5156, allocations: 359.2 kB / 0.648 GB, free: 5.824 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.5158, allocations: 105.8 kB / 0.6481 GB, free: 5.703 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.5158, allocations: 8 kB / 0.6481 GB, free: 5.695 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005257/0.5163, allocations: 8 kB / 0.6481 GB, free: 5.688 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.5164, allocations: 15.97 kB / 0.6481 GB, free: 5.672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.5164, allocations: 11.94 kB / 0.6481 GB, free: 5.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.325e-05/0.5165, allocations: 92.45 kB / 0.6482 GB, free: 5.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5165, allocations: 0 / 0.6482 GB, free: 5.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004415/0.5169, allocations: 95.98 kB / 0.6483 GB, free: 5.477 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.001164/0.5181, allocations: 0.9967 MB / 0.6493 GB, free: 4.457 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005076/0.5186, allocations: 211.8 kB / 0.6495 GB, free: 4.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.5186, allocations: 0 / 0.6495 GB, free: 4.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.5189, allocations: 120 kB / 0.6496 GB, free: 4.133 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.5193, allocations: 41.28 kB / 0.6496 GB, free: 4.098 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008542/0.5202, allocations: 331.1 kB / 0.6499 GB, free: 3.734 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.5204, allocations: 0.697 MB / 0.6506 GB, free: 3.012 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003064/0.5208, allocations: 66.31 kB / 0.6507 GB, free: 2.949 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.521, allocations: 43.38 kB / 0.6507 GB, free: 2.906 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.521, allocations: 0 / 0.6507 GB, free: 2.906 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.5471, allocations: 7.716 MB / 0.6583 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.457/8.004, allocations: 4 kB / 0.6583 GB, free: 11.16 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