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.001265/0.001265, allocations: 109.1 kB / 16.41 MB, free: 6.434 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.001262/0.001262, allocations: 185 kB / 17.34 MB, free: 5.734 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.483/1.483, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2204/0.2204, allocations: 43.51 MB / 314.1 MB, free: 476 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.002046/0.002046, allocations: 71.89 kB / 441.3 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1068, allocations: 57.79 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3865/0.4934, allocations: 153.1 MB / 0.6369 GB, free: 1.789 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004485/0.4979, allocations: 3.638 MB / 0.6405 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.498, allocations: 0 / 0.6405 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.4982, allocations: 35.8 kB / 0.6405 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.312e-05/0.4983, allocations: 27.78 kB / 0.6405 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.4995, allocations: 441.8 kB / 0.641 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.4996, allocations: 71.53 kB / 0.641 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.59e-05/0.4996, allocations: 4 kB / 0.641 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.438e-05/0.4997, allocations: 31.91 kB / 0.6411 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.809e-05/0.4998, allocations: 19.92 kB / 0.6411 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.4998, allocations: 4 kB / 0.6411 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.5008, allocations: 0.502 MB / 0.6416 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.5009, allocations: 3.938 kB / 0.6416 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.321e-05/0.5009, allocations: 35.86 kB / 0.6416 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005117/0.5014, allocations: 306.9 kB / 0.6419 GB, free: 12.69 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.5014, allocations: 0 / 0.6419 GB, free: 12.69 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5015, allocations: 0 / 0.6419 GB, free: 12.69 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.5015, allocations: 0 / 0.6419 GB, free: 12.69 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.000609/0.5021, allocations: 410.8 kB / 0.6423 GB, free: 12.24 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.5021, allocations: 15.89 kB / 0.6423 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.038e-05/0.5022, allocations: 34.75 kB / 0.6423 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.5022, allocations: 8.891 kB / 0.6423 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.5024, allocations: 179.4 kB / 0.6425 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.5024, allocations: 8 kB / 0.6425 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.5024, allocations: 4 kB / 0.6425 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.5026, allocations: 73.67 kB / 0.6426 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.5026, allocations: 4 kB / 0.6426 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.5026, allocations: 0 / 0.6426 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.5026, allocations: 4 kB / 0.6426 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.225e-05/0.5027, allocations: 43.97 kB / 0.6427 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/0.5032, allocations: 389.8 kB / 0.643 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.5034, allocations: 54.56 kB / 0.6431 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.153e-05/0.5034, allocations: 28.84 kB / 0.6431 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00188/0.5053, allocations: 1.233 MB / 0.6443 GB, free: 9.801 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.5053, allocations: 34.5 kB / 0.6443 GB, free: 9.758 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.5054, allocations: 0 / 0.6443 GB, free: 9.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.006709/0.5121, allocations: 0.6661 MB / 0.645 GB, free: 9.086 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.5121, allocations: 59.34 kB / 0.645 GB, free: 9.016 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.763e-05/0.5122, allocations: 105.8 kB / 0.6451 GB, free: 8.902 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.5123, allocations: 25.7 kB / 0.6452 GB, free: 8.871 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.5123, allocations: 92.31 kB / 0.6453 GB, free: 8.777 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.5124, allocations: 47.69 kB / 0.6453 GB, free: 8.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.5125, allocations: 49.55 kB / 0.6454 GB, free: 8.676 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5126, allocations: 322.8 kB / 0.6457 GB, free: 8.352 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.5129, allocations: 77.08 kB / 0.6457 GB, free: 8.277 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.5131, allocations: 115.8 kB / 0.6458 GB, free: 8.156 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004509/0.5136, allocations: 194.7 kB / 0.646 GB, free: 7.957 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.5136, allocations: 0 / 0.646 GB, free: 7.957 MB / 494.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005824/0.5142, allocations: 253.6 kB / 0.6463 GB, free: 7.703 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.5142, allocations: 11.94 kB / 0.6463 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.5142, allocations: 0 / 0.6463 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.5142, allocations: 0 / 0.6463 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006794/0.5149, allocations: 51.94 kB / 0.6463 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.5149, allocations: 4 kB / 0.6463 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005176/0.5154, allocations: 15.81 kB / 0.6464 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.5155, allocations: 15.97 kB / 0.6464 GB, free: 7.609 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.0001293/0.5156, allocations: 129.8 kB / 0.6465 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.5157, allocations: 15.88 kB / 0.6465 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007899/0.5165, allocations: 340.8 kB / 0.6468 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.5165, allocations: 4 kB / 0.6468 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.5165, allocations: 4 kB / 0.6468 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.5165, allocations: 3.984 kB / 0.6468 GB, free: 7.109 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.5177, allocations: 0.7637 MB / 0.6476 GB, free: 6.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.5177, allocations: 4 kB / 0.6476 GB, free: 6.246 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006306/0.5183, allocations: 47.89 kB / 0.6476 GB, free: 6.199 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.5183, allocations: 0 / 0.6476 GB, free: 6.199 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.5184, allocations: 11.98 kB / 0.6476 GB, free: 6.188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5184, allocations: 0 / 0.6476 GB, free: 6.188 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5184, allocations: 4 kB / 0.6477 GB, free: 6.184 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00063/0.519, allocations: 355.3 kB / 0.648 GB, free: 5.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.5191, allocations: 112.9 kB / 0.6481 GB, free: 5.691 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.5192, allocations: 0 / 0.6481 GB, free: 5.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005386/0.5197, allocations: 12 kB / 0.6481 GB, free: 5.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.5198, allocations: 11.97 kB / 0.6481 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/0.5198, allocations: 15.92 kB / 0.6481 GB, free: 5.652 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.824e-05/0.5199, allocations: 87.28 kB / 0.6482 GB, free: 5.566 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.883e-06/0.5199, allocations: 0 / 0.6482 GB, free: 5.566 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004357/0.5204, allocations: 103.7 kB / 0.6483 GB, free: 5.465 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.001261/0.5216, allocations: 0.9967 MB / 0.6493 GB, free: 4.445 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005434/0.5222, allocations: 207.8 kB / 0.6495 GB, free: 4.242 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5222, allocations: 4.125 kB / 0.6495 GB, free: 4.238 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002541/0.5225, allocations: 115.9 kB / 0.6496 GB, free: 4.125 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.5229, allocations: 38.2 kB / 0.6496 GB, free: 4.094 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000858/0.5238, allocations: 337.8 kB / 0.65 GB, free: 3.723 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.5241, allocations: 0.7009 MB / 0.6506 GB, free: 2.996 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003308/0.5245, allocations: 60.75 kB / 0.6507 GB, free: 2.938 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.5247, allocations: 43.39 kB / 0.6507 GB, free: 2.895 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5247, allocations: 0 / 0.6507 GB, free: 2.895 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/0.5577, allocations: 7.611 MB / 0.6582 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.124/8.682, allocations: 11.69 kB / 0.6582 GB, free: 11.25 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) Reference file matches