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.001222/0.001223, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002493/0.002493, allocations: 175.4 kB / 16.56 MB, free: 6.379 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.896/1.896, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4511/0.4511, allocations: 43.54 MB / 314.5 MB, free: 9 MB / 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.0005356/0.0005356, allocations: 12 kB / 384 MB, free: 8.195 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1384, allocations: 58.86 MB / 442.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4187/0.5571, allocations: 126.9 MB / 0.5564 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003108/0.5603, allocations: 2.563 MB / 0.5589 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.262e-05/0.5604, allocations: 0 / 0.5589 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.5606, allocations: 39.89 kB / 0.5589 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.315e-05/0.5606, allocations: 31.55 kB / 0.5589 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.5618, allocations: 374.4 kB / 0.5593 GB, free: 9.785 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.144e-05/0.5619, allocations: 50.73 kB / 0.5593 GB, free: 9.738 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.605e-05/0.562, allocations: 4 kB / 0.5593 GB, free: 9.734 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.829e-05/0.5621, allocations: 27.88 kB / 0.5594 GB, free: 9.711 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.338e-05/0.5621, allocations: 30.81 kB / 0.5594 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.5622, allocations: 0 / 0.5594 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.5633, allocations: 0.4904 MB / 0.5599 GB, free: 9.281 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.5633, allocations: 15.92 kB / 0.5599 GB, free: 9.266 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.5634, allocations: 29.7 kB / 0.5599 GB, free: 9.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.5637, allocations: 193 kB / 0.5601 GB, free: 9.094 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.5637, allocations: 0 / 0.5601 GB, free: 9.094 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5638, allocations: 0 / 0.5601 GB, free: 9.094 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.5638, allocations: 0 / 0.5601 GB, free: 9.094 MB / 430.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.0005377/0.5643, allocations: 397.8 kB / 0.5605 GB, free: 8.676 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.5644, allocations: 16.03 kB / 0.5605 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/0.5644, allocations: 37.98 kB / 0.5605 GB, free: 8.617 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.5645, allocations: 7.906 kB / 0.5605 GB, free: 8.609 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.5646, allocations: 167 kB / 0.5607 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.5646, allocations: 4 kB / 0.5607 GB, free: 8.402 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.5646, allocations: 10.75 kB / 0.5607 GB, free: 8.395 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.5648, allocations: 68.39 kB / 0.5608 GB, free: 8.332 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.5648, allocations: 0 / 0.5608 GB, free: 8.332 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.5648, allocations: 4 kB / 0.5608 GB, free: 8.328 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.5648, allocations: 4 kB / 0.5608 GB, free: 8.324 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.062e-05/0.5649, allocations: 48.25 kB / 0.5608 GB, free: 8.285 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.5654, allocations: 384.3 kB / 0.5612 GB, free: 7.867 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.5655, allocations: 69.69 kB / 0.5613 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/0.5667, allocations: 1.008 MB / 0.5623 GB, free: 6.625 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.5667, allocations: 30.56 kB / 0.5623 GB, free: 6.586 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.5668, allocations: 0 / 0.5623 GB, free: 6.586 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.006882/0.5736, allocations: 0.6771 MB / 0.5629 GB, free: 5.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.5737, allocations: 55.41 kB / 0.563 GB, free: 5.844 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.5739, allocations: 102.7 kB / 0.5631 GB, free: 5.734 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/0.5739, allocations: 33.7 kB / 0.5631 GB, free: 5.695 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.574, allocations: 92.25 kB / 0.5632 GB, free: 5.602 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.675e-05/0.5741, allocations: 47.34 kB / 0.5633 GB, free: 5.555 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.5741, allocations: 4 kB / 0.5633 GB, free: 5.551 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.5743, allocations: 314.8 kB / 0.5636 GB, free: 5.234 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.5745, allocations: 87.88 kB / 0.5636 GB, free: 5.148 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.5747, allocations: 110.4 kB / 0.5638 GB, free: 5.031 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.5749, allocations: 83.98 kB / 0.5638 GB, free: 4.949 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.5749, allocations: 0 / 0.5638 GB, free: 4.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005661/0.5755, allocations: 258 kB / 0.5641 GB, free: 4.691 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.5755, allocations: 4 kB / 0.5641 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.5755, allocations: 0 / 0.5641 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.5756, allocations: 0 / 0.5641 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006704/0.5762, allocations: 51.94 kB / 0.5641 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.5763, allocations: 0 / 0.5641 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005165/0.5768, allocations: 16 kB / 0.5641 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.5768, allocations: 20.42 kB / 0.5642 GB, free: 4.602 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.577, allocations: 125.8 kB / 0.5643 GB, free: 4.469 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.941e-05/0.577, allocations: 4 kB / 0.5643 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007885/0.5778, allocations: 346.1 kB / 0.5646 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.5779, allocations: 0 / 0.5646 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.5779, allocations: 4 kB / 0.5646 GB, free: 4.121 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.5779, allocations: 7.922 kB / 0.5646 GB, free: 4.113 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.579, allocations: 0.752 MB / 0.5654 GB, free: 3.277 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.579, allocations: 0 / 0.5654 GB, free: 3.277 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006204/0.5796, allocations: 51.89 kB / 0.5654 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.5797, allocations: 3.984 kB / 0.5654 GB, free: 3.223 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.5797, allocations: 12.55 kB / 0.5654 GB, free: 3.211 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.5797, allocations: 0 / 0.5654 GB, free: 3.211 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5797, allocations: 3.938 kB / 0.5654 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005778/0.5803, allocations: 357.8 kB / 0.5658 GB, free: 2.844 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.5804, allocations: 109 kB / 0.5659 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.5805, allocations: 4.875 kB / 0.5659 GB, free: 2.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005329/0.581, allocations: 15.98 kB / 0.5659 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.5811, allocations: 11.97 kB / 0.5659 GB, free: 2.688 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.5811, allocations: 11.94 kB / 0.5659 GB, free: 2.676 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.521e-05/0.5812, allocations: 89.02 kB / 0.566 GB, free: 2.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5812, allocations: 0 / 0.566 GB, free: 2.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005422/0.5818, allocations: 99.98 kB / 0.5661 GB, free: 2.492 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001201/0.583, allocations: 0.9933 MB / 0.5671 GB, free: 1.469 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004809/0.5835, allocations: 214.6 kB / 0.5673 GB, free: 1.262 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5835, allocations: 0 / 0.5673 GB, free: 1.262 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.5837, allocations: 119.9 kB / 0.5674 GB, free: 1.145 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.584, allocations: 28.05 kB / 0.5674 GB, free: 1.117 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008154/0.5849, allocations: 368.2 kB / 0.5678 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.5851, allocations: 0.7046 MB / 0.5685 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004674/0.5856, allocations: 70.7 kB / 0.5685 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.5858, allocations: 43.39 kB / 0.5686 GB, free: 15.89 MB / 446.1 MB Notification: Performance of SimCode: time 5.72e-07/0.5859, allocations: 0 / 0.5686 GB, free: 15.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.6046, allocations: 7.106 MB / 0.5755 GB, free: 8.852 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/0.6048, allocations: 173.5 kB / 0.5757 GB, free: 8.609 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/2.478, allocations: 0 / 0.5757 GB, free: 8.609 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat does not exist to compare? outputFormat=mat