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.001541/0.001541, allocations: 107.6 kB / 16.41 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.001554/0.001554, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.36/1.36, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2078/0.2078, 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.002009/0.002009, allocations: 71.89 kB / 441.3 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1033, allocations: 57.8 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3858/0.4891, allocations: 153.1 MB / 0.6369 GB, free: 1.812 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00435/0.4935, allocations: 3.634 MB / 0.6405 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.4936, allocations: 4 kB / 0.6405 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.4938, allocations: 27.81 kB / 0.6405 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.341e-05/0.4938, allocations: 35.7 kB / 0.6405 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.495, allocations: 437.8 kB / 0.6409 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.4951, allocations: 75.59 kB / 0.641 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.679e-05/0.4951, allocations: 4 kB / 0.641 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.047e-05/0.4952, allocations: 27.92 kB / 0.6411 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.979e-05/0.4953, allocations: 23.91 kB / 0.6411 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.626e-06/0.4953, allocations: 0 / 0.6411 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.4964, allocations: 0.5043 MB / 0.6416 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.4964, allocations: 7.938 kB / 0.6416 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.4964, allocations: 27.86 kB / 0.6416 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005081/0.4969, allocations: 310.9 kB / 0.6419 GB, free: 12.71 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.497, allocations: 0 / 0.6419 GB, free: 12.71 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.497, allocations: 3.938 kB / 0.6419 GB, free: 12.71 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.497, allocations: 0 / 0.6419 GB, free: 12.71 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.0005533/0.4975, allocations: 406.8 kB / 0.6423 GB, free: 12.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.4976, allocations: 11.89 kB / 0.6423 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.958e-05/0.4976, allocations: 38.75 kB / 0.6423 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.4977, allocations: 8.891 kB / 0.6423 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.4978, allocations: 175.4 kB / 0.6425 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.4978, allocations: 12 kB / 0.6425 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.4978, allocations: 4 kB / 0.6425 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.498, allocations: 73.67 kB / 0.6426 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.498, allocations: 0 / 0.6426 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.498, allocations: 4 kB / 0.6426 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.498, allocations: 4 kB / 0.6426 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.408e-05/0.4981, allocations: 47.95 kB / 0.6427 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.4986, allocations: 385.8 kB / 0.643 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.4987, allocations: 58.56 kB / 0.6431 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.4987, allocations: 24.84 kB / 0.6431 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001855/0.5006, allocations: 1.232 MB / 0.6443 GB, free: 9.828 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.5006, allocations: 34.56 kB / 0.6443 GB, free: 9.785 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 4.619e-06/0.5007, allocations: 4.172 kB / 0.6443 GB, free: 9.781 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.006616/0.5073, allocations: 0.6738 MB / 0.645 GB, free: 9.102 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.5073, allocations: 51.41 kB / 0.645 GB, free: 9.039 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.479e-05/0.5074, allocations: 109.8 kB / 0.6452 GB, free: 8.922 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.5075, allocations: 25.7 kB / 0.6452 GB, free: 8.891 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.5075, allocations: 88.31 kB / 0.6453 GB, free: 8.801 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.566e-05/0.5076, allocations: 51.69 kB / 0.6453 GB, free: 8.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.5077, allocations: 45.61 kB / 0.6454 GB, free: 8.699 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5078, allocations: 318.8 kB / 0.6457 GB, free: 8.379 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.508, allocations: 81.33 kB / 0.6457 GB, free: 8.301 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.5083, allocations: 119.8 kB / 0.6458 GB, free: 8.176 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004577/0.5087, allocations: 194.8 kB / 0.646 GB, free: 7.977 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.5088, allocations: 0 / 0.646 GB, free: 7.977 MB / 494.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005767/0.5093, allocations: 253.5 kB / 0.6463 GB, free: 7.723 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.5094, allocations: 8 kB / 0.6463 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5094, allocations: 0 / 0.6463 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.5094, allocations: 0 / 0.6463 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006657/0.5101, allocations: 55.88 kB / 0.6463 GB, free: 7.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.5101, allocations: 0 / 0.6463 GB, free: 7.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005278/0.5106, allocations: 16 kB / 0.6464 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.484e-05/0.5107, allocations: 15.97 kB / 0.6464 GB, free: 7.629 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.0001209/0.5108, allocations: 121.8 kB / 0.6465 GB, free: 7.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.5109, allocations: 16.8 kB / 0.6465 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008014/0.5117, allocations: 344.8 kB / 0.6468 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.5117, allocations: 4 kB / 0.6468 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5117, allocations: 3.984 kB / 0.6468 GB, free: 7.137 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5117, allocations: 4 kB / 0.6468 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.5129, allocations: 0.7598 MB / 0.6476 GB, free: 6.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.5129, allocations: 0 / 0.6476 GB, free: 6.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006212/0.5135, allocations: 48.64 kB / 0.6476 GB, free: 6.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.5135, allocations: 7.938 kB / 0.6476 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.154e-05/0.5136, allocations: 7.984 kB / 0.6476 GB, free: 6.215 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.5136, allocations: 0 / 0.6476 GB, free: 6.215 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.5136, allocations: 4 kB / 0.6476 GB, free: 6.211 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006427/0.5142, allocations: 359.3 kB / 0.648 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.5144, allocations: 105.8 kB / 0.6481 GB, free: 5.723 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.5144, allocations: 4 kB / 0.6481 GB, free: 5.719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005296/0.5149, allocations: 11.98 kB / 0.6481 GB, free: 5.707 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.515, allocations: 11.98 kB / 0.6481 GB, free: 5.695 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.84e-05/0.5151, allocations: 15.92 kB / 0.6481 GB, free: 5.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.178e-05/0.5152, allocations: 88.47 kB / 0.6482 GB, free: 5.594 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5152, allocations: 0 / 0.6482 GB, free: 5.594 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004335/0.5156, allocations: 95.8 kB / 0.6483 GB, free: 5.5 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.001266/0.5169, allocations: 1.004 MB / 0.6493 GB, free: 4.473 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000538/0.5174, allocations: 211.8 kB / 0.6495 GB, free: 4.266 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5174, allocations: 0 / 0.6495 GB, free: 4.266 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002656/0.5177, allocations: 124 kB / 0.6496 GB, free: 4.145 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.5181, allocations: 32.66 kB / 0.6496 GB, free: 4.117 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008396/0.519, allocations: 333.8 kB / 0.65 GB, free: 3.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.5194, allocations: 0.697 MB / 0.6506 GB, free: 3.027 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003219/0.5197, allocations: 64.73 kB / 0.6507 GB, free: 2.965 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.5199, allocations: 51.38 kB / 0.6508 GB, free: 2.914 MB / 494.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5199, allocations: 0 / 0.6508 GB, free: 2.914 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.5502, allocations: 7.607 MB / 0.6582 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.133/8.683, allocations: 11.69 kB / 0.6582 GB, free: 11.27 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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.csv","/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) Reference file matches