Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00244/0.00244, allocations: 182 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 77.38 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5369/0.5369, allocations: 43.56 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005008/0.0005011, allocations: 8 kB / 431.5 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1381, allocations: 58.85 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.5871/0.7253, allocations: 126.9 MB / 0.6027 GB, free: 7.402 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0056/0.7309, allocations: 2.573 MB / 0.6052 GB, free: 5.059 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.799e-05/0.7311, allocations: 3.938 kB / 0.6052 GB, free: 5.055 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.7313, allocations: 29.09 kB / 0.6052 GB, free: 5.035 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 8.403e-05/0.7314, allocations: 34.8 kB / 0.6053 GB, free: 5.004 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.7333, allocations: 371.8 kB / 0.6056 GB, free: 4.715 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.7335, allocations: 56.09 kB / 0.6057 GB, free: 4.664 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.404e-05/0.7336, allocations: 0 / 0.6057 GB, free: 4.664 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.7337, allocations: 35.72 kB / 0.6057 GB, free: 4.633 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.368e-05/0.7338, allocations: 24.42 kB / 0.6057 GB, free: 4.613 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.7339, allocations: 4 kB / 0.6057 GB, free: 4.609 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002039/0.7359, allocations: 496.7 kB / 0.6062 GB, free: 4.211 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.491e-05/0.736, allocations: 11.88 kB / 0.6062 GB, free: 4.199 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.202e-05/0.7361, allocations: 37.7 kB / 0.6063 GB, free: 4.156 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007237/0.7368, allocations: 195 kB / 0.6065 GB, free: 4.016 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.7368, allocations: 0 / 0.6065 GB, free: 4.016 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.138e-06/0.7368, allocations: 6.375 kB / 0.6065 GB, free: 4.012 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.7369, allocations: 0 / 0.6065 GB, free: 4.012 MB / 426.7 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.000788/0.7377, allocations: 392.4 kB / 0.6068 GB, free: 3.594 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.345e-05/0.7377, allocations: 8.031 kB / 0.6068 GB, free: 3.586 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.373e-05/0.7378, allocations: 39.45 kB / 0.6069 GB, free: 3.539 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.7378, allocations: 8.938 kB / 0.6069 GB, free: 3.531 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.738, allocations: 172.1 kB / 0.6071 GB, free: 3.324 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.7381, allocations: 4 kB / 0.6071 GB, free: 3.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.7381, allocations: 15.42 kB / 0.6071 GB, free: 3.309 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.7383, allocations: 67.08 kB / 0.6071 GB, free: 3.246 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.7384, allocations: 1.172 kB / 0.6071 GB, free: 3.246 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.7384, allocations: 4.5 kB / 0.6071 GB, free: 3.242 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.7384, allocations: 0 / 0.6071 GB, free: 3.242 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.7385, allocations: 49.42 kB / 0.6072 GB, free: 3.203 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006543/0.7392, allocations: 387.8 kB / 0.6076 GB, free: 2.781 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.7394, allocations: 63.95 kB / 0.6076 GB, free: 2.715 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002006/0.7414, allocations: 1.011 MB / 0.6086 GB, free: 1.543 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.7415, allocations: 35.44 kB / 0.6086 GB, free: 1.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 2.715e-06/0.7415, allocations: 0 / 0.6086 GB, free: 1.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.01366/0.7552, allocations: 0.6638 MB / 0.6093 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.7553, allocations: 55.41 kB / 0.6093 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.7554, allocations: 109.8 kB / 0.6094 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.076e-05/0.7555, allocations: 30.27 kB / 0.6095 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.312e-05/0.7556, allocations: 162.7 kB / 0.6096 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.927e-05/0.7557, allocations: 43.34 kB / 0.6097 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.7557, allocations: 4 kB / 0.6097 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.7559, allocations: 322.8 kB / 0.61 GB, free: 192 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.7563, allocations: 83.88 kB / 0.6101 GB, free: 108 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.7567, allocations: 110 kB / 0.6102 GB, free: 15.99 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.7571, allocations: 95.16 kB / 0.6103 GB, free: 15.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.7571, allocations: 0 / 0.6103 GB, free: 15.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00101/0.7581, allocations: 249.5 kB / 0.6105 GB, free: 15.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.7582, allocations: 4 kB / 0.6105 GB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.537e-06/0.7582, allocations: 4 kB / 0.6105 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.7582, allocations: 4.688 kB / 0.6105 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.7595, allocations: 51.94 kB / 0.6106 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.7596, allocations: 0 / 0.6106 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.7607, allocations: 15.98 kB / 0.6106 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.508e-05/0.7608, allocations: 15.94 kB / 0.6106 GB, free: 15.56 MB / 442.7 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.0001865/0.761, allocations: 125.8 kB / 0.6107 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.593e-05/0.7611, allocations: 7.125 kB / 0.6107 GB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.7625, allocations: 345.3 kB / 0.611 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.7625, allocations: 4 kB / 0.611 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.7626, allocations: 4 kB / 0.6111 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.7626, allocations: 0 / 0.6111 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.7645, allocations: 0.7655 MB / 0.6118 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.7645, allocations: 0 / 0.6118 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.7658, allocations: 43.89 kB / 0.6118 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/0.7658, allocations: 7.938 kB / 0.6119 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.7659, allocations: 7.984 kB / 0.6119 GB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-06/0.7659, allocations: 8 kB / 0.6119 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7659, allocations: 0 / 0.6119 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.7669, allocations: 352.5 kB / 0.6122 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.7671, allocations: 101 kB / 0.6123 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.225e-05/0.7672, allocations: 8 kB / 0.6123 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.7683, allocations: 11.98 kB / 0.6123 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.7684, allocations: 19.92 kB / 0.6123 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.882e-05/0.7685, allocations: 11.98 kB / 0.6123 GB, free: 13.63 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.127e-05/0.7686, allocations: 83.28 kB / 0.6124 GB, free: 13.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7686, allocations: 0 / 0.6124 GB, free: 13.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006674/0.7693, allocations: 99.97 kB / 0.6125 GB, free: 13.45 MB / 442.7 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.002069/0.7713, allocations: 1.004 MB / 0.6135 GB, free: 12.42 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000973/0.7724, allocations: 203.9 kB / 0.6137 GB, free: 12.22 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7724, allocations: 3.938 kB / 0.6137 GB, free: 12.22 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000457/0.7729, allocations: 115.9 kB / 0.6138 GB, free: 12.11 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.7734, allocations: 31.92 kB / 0.6138 GB, free: 12.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.7749, allocations: 401.8 kB / 0.6142 GB, free: 11.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.7753, allocations: 0.6968 MB / 0.6149 GB, free: 10.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/0.7758, allocations: 47.39 kB / 0.615 GB, free: 10.87 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7758, allocations: 0 / 0.615 GB, free: 10.87 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.67/3.445, allocations: 4.583 MB / 0.6194 GB, free: 6.305 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat does not exist to compare? outputFormat=mat