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.0009835/0.0009832, allocations: 96.7 kB / 15.7 MB, free: 468 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.001403/0.001403, allocations: 172.7 kB / 16.58 MB, free: 6.848 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.658/1.658, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.35/0.35, allocations: 43.54 MB / 314.6 MB, free: 9.062 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.0005209/0.0005211, allocations: 16 kB / 384 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1145, allocations: 58.85 MB / 442.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3508/0.4653, allocations: 138.9 MB / 0.5682 GB, free: 1.078 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003409/0.4688, allocations: 3.358 MB / 0.5714 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.3e-05/0.4688, allocations: 0 / 0.5714 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.4689, allocations: 35.84 kB / 0.5715 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.797e-05/0.469, allocations: 23.78 kB / 0.5715 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000847/0.4698, allocations: 354.4 kB / 0.5718 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.608e-05/0.4699, allocations: 63.61 kB / 0.5719 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.426e-05/0.47, allocations: 7.938 kB / 0.5719 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.198e-05/0.47, allocations: 43.84 kB / 0.5719 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.233e-05/0.4701, allocations: 19.92 kB / 0.572 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.075e-06/0.4701, allocations: 0 / 0.572 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008545/0.471, allocations: 450.9 kB / 0.5724 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.471, allocations: 7.984 kB / 0.5724 GB, free: 12.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.471, allocations: 37.64 kB / 0.5724 GB, free: 12.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.4713, allocations: 198 kB / 0.5726 GB, free: 12.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4713, allocations: 0 / 0.5726 GB, free: 12.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4713, allocations: 4 kB / 0.5726 GB, free: 12.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.4713, allocations: 0 / 0.5726 GB, free: 12.5 MB / 446.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.0004361/0.4718, allocations: 403 kB / 0.573 GB, free: 12.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.4718, allocations: 8.031 kB / 0.573 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.746e-05/0.4718, allocations: 34.56 kB / 0.5731 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.4719, allocations: 12.59 kB / 0.5731 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.217e-05/0.472, allocations: 163 kB / 0.5732 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.472, allocations: 4 kB / 0.5732 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.472, allocations: 14.73 kB / 0.5732 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.4721, allocations: 73.61 kB / 0.5733 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.4722, allocations: 0 / 0.5733 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.4722, allocations: 0 / 0.5733 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.4722, allocations: 0 / 0.5733 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.656e-05/0.4723, allocations: 47.97 kB / 0.5734 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.4726, allocations: 372.8 kB / 0.5737 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.4728, allocations: 79.05 kB / 0.5738 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.002e-05/0.4728, allocations: 20.86 kB / 0.5738 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/0.4743, allocations: 1.233 MB / 0.575 GB, free: 9.652 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.4743, allocations: 34.52 kB / 0.575 GB, free: 9.609 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.173e-06/0.4743, allocations: 0 / 0.575 GB, free: 9.609 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.005631/0.48, allocations: 0.6689 MB / 0.5757 GB, free: 8.934 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.48, allocations: 51.41 kB / 0.5757 GB, free: 8.871 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.383e-05/0.4801, allocations: 103.7 kB / 0.5758 GB, free: 8.762 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.4801, allocations: 29.7 kB / 0.5759 GB, free: 8.727 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.4801, allocations: 96.25 kB / 0.576 GB, free: 8.629 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.771e-05/0.4802, allocations: 51.28 kB / 0.576 GB, free: 8.578 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.4802, allocations: 4 kB / 0.576 GB, free: 8.574 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.914e-05/0.4803, allocations: 314.8 kB / 0.5763 GB, free: 8.258 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.4805, allocations: 83.88 kB / 0.5764 GB, free: 8.176 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.4807, allocations: 102.5 kB / 0.5765 GB, free: 8.066 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.4809, allocations: 95.97 kB / 0.5766 GB, free: 7.973 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4809, allocations: 0 / 0.5766 GB, free: 7.973 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004923/0.4814, allocations: 250.2 kB / 0.5768 GB, free: 7.723 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.4814, allocations: 7.938 kB / 0.5768 GB, free: 7.715 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4814, allocations: 0 / 0.5768 GB, free: 7.715 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.4814, allocations: 4 kB / 0.5768 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000555/0.482, allocations: 52 kB / 0.5769 GB, free: 7.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.482, allocations: 5.875 kB / 0.5769 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004237/0.4825, allocations: 15.98 kB / 0.5769 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/0.4825, allocations: 11.98 kB / 0.5769 GB, free: 7.629 MB / 446.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 9.659e-05/0.4826, allocations: 125.8 kB / 0.577 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.4827, allocations: 7.953 kB / 0.577 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007411/0.4834, allocations: 345.9 kB / 0.5774 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.4834, allocations: 7.953 kB / 0.5774 GB, free: 7.141 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4834, allocations: 0 / 0.5774 GB, free: 7.141 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.4834, allocations: 3.984 kB / 0.5774 GB, free: 7.137 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009365/0.4844, allocations: 0.7551 MB / 0.5781 GB, free: 6.293 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4844, allocations: 7.078 kB / 0.5781 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005238/0.4849, allocations: 47.89 kB / 0.5782 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4849, allocations: 0 / 0.5782 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.485, allocations: 11.98 kB / 0.5782 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.485, allocations: 0 / 0.5782 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.485, allocations: 0 / 0.5782 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005057/0.4855, allocations: 358.1 kB / 0.5785 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.288e-05/0.4856, allocations: 101 kB / 0.5786 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.4856, allocations: 3.953 kB / 0.5786 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004387/0.4861, allocations: 15.98 kB / 0.5786 GB, free: 5.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.4861, allocations: 15.92 kB / 0.5787 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.4862, allocations: 11.98 kB / 0.5787 GB, free: 5.703 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.257e-05/0.4862, allocations: 91.2 kB / 0.5788 GB, free: 5.613 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.4862, allocations: 0 / 0.5788 GB, free: 5.613 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003876/0.4866, allocations: 99.92 kB / 0.5789 GB, free: 5.516 MB / 446.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.001053/0.4877, allocations: 0.9934 MB / 0.5798 GB, free: 4.492 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004518/0.4881, allocations: 209.6 kB / 0.58 GB, free: 4.289 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4881, allocations: 4.125 kB / 0.58 GB, free: 4.285 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.4884, allocations: 115.9 kB / 0.5801 GB, free: 4.172 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.4887, allocations: 27.97 kB / 0.5802 GB, free: 4.145 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007492/0.4895, allocations: 386.6 kB / 0.5805 GB, free: 3.734 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.4897, allocations: 0.6972 MB / 0.5812 GB, free: 3.012 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004807/0.4902, allocations: 75.17 kB / 0.5813 GB, free: 2.941 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.4904, allocations: 39.39 kB / 0.5813 GB, free: 2.906 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4904, allocations: 0 / 0.5813 GB, free: 2.906 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.5081, allocations: 7.141 MB / 0.5883 GB, free: 11.82 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/0.5084, allocations: 183.8 kB / 0.5885 GB, free: 11.57 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.342, allocations: 4 kB / 0.5885 GB, free: 11.57 MB / 462.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