Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001176, allocations: 195.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.256/1.256, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008035/0.0008035, allocations: 90.56 kB / 292.1 MB, free: 6.027 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.17/0.17, allocations: 45.14 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.25e-05/3.252e-05, allocations: 0 / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08544/0.08549, allocations: 63.23 MB / 0.5114 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3284/0.414, allocations: 90.38 MB / 0.5997 GB, free: 3.508 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001466/0.4142, allocations: 66.84 kB / 0.5998 GB, free: 3.477 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03644/0.4506, allocations: 13.17 MB / 0.6126 GB, free: 8.238 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4507, allocations: 0 / 0.6126 GB, free: 8.238 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.4507, allocations: 0 / 0.6126 GB, free: 8.238 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005397/0.4512, allocations: 472.8 kB / 0.6131 GB, free: 7.734 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.4513, allocations: 11.97 kB / 0.6131 GB, free: 7.723 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.702e-05/0.4513, allocations: 105.8 kB / 0.6132 GB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.4514, allocations: 75.28 kB / 0.6133 GB, free: 7.535 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.4515, allocations: 242.3 kB / 0.6135 GB, free: 7.258 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.012e-05/0.4516, allocations: 150.6 kB / 0.6136 GB, free: 7.109 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.4516, allocations: 154.6 kB / 0.6138 GB, free: 6.957 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.04e-05/0.4517, allocations: 105 kB / 0.6139 GB, free: 6.848 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.4517, allocations: 75.28 kB / 0.614 GB, free: 6.773 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.096e-05/0.4518, allocations: 154.2 kB / 0.6141 GB, free: 6.625 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.644e-05/0.4518, allocations: 150.6 kB / 0.6143 GB, free: 6.477 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5e-05/0.4519, allocations: 154.5 kB / 0.6144 GB, free: 6.324 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.4521, allocations: 449.9 kB / 0.6148 GB, free: 5.836 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.105e-05/0.4522, allocations: 168.6 kB / 0.615 GB, free: 5.664 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.923e-05/0.4523, allocations: 84.12 kB / 0.6151 GB, free: 5.578 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.4523, allocations: 75.28 kB / 0.6151 GB, free: 5.504 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.307e-05/0.4524, allocations: 139.5 kB / 0.6153 GB, free: 5.352 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.4524, allocations: 4 kB / 0.6153 GB, free: 5.348 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 6.32e-05/0.4524, allocations: 25.7 kB / 0.6153 GB, free: 5.316 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.4525, allocations: 152.4 kB / 0.6154 GB, free: 5.148 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.762e-05/0.4526, allocations: 85 kB / 0.6155 GB, free: 5.059 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.4526, allocations: 25.7 kB / 0.6156 GB, free: 5.027 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.4526, allocations: 91.58 kB / 0.6156 GB, free: 4.938 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.4526, allocations: 0 / 0.6156 GB, free: 4.938 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.4526, allocations: 0 / 0.6156 GB, free: 4.938 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.073e-05/0.4527, allocations: 314.8 kB / 0.6159 GB, free: 4.621 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.326e-06/0.4527, allocations: 0 / 0.6159 GB, free: 4.621 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.588e-05/0.4527, allocations: 0 / 0.6159 GB, free: 4.621 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.954e-05/0.4528, allocations: 83.23 kB / 0.616 GB, free: 4.539 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.576e-05/0.4528, allocations: 79.22 kB / 0.6161 GB, free: 4.461 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.947e-05/0.4529, allocations: 32.48 kB / 0.6161 GB, free: 4.426 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.4529, allocations: 83.28 kB / 0.6162 GB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.689e-05/0.4529, allocations: 79.36 kB / 0.6163 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.007e-05/0.453, allocations: 158.5 kB / 0.6164 GB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.127e-05/0.453, allocations: 82.28 kB / 0.6165 GB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.741e-05/0.4531, allocations: 158.5 kB / 0.6167 GB, free: 3.875 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.017e-05/0.4531, allocations: 75.28 kB / 0.6167 GB, free: 3.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.4532, allocations: 79.27 kB / 0.6168 GB, free: 3.723 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.982e-05/0.4533, allocations: 263.5 kB / 0.6171 GB, free: 3.457 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.287e-05/0.4533, allocations: 108.7 kB / 0.6172 GB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.651e-05/0.4534, allocations: 108.1 kB / 0.6173 GB, free: 3.234 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.068e-05/0.4535, allocations: 180.2 kB / 0.6174 GB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.544e-05/0.4535, allocations: 176.3 kB / 0.6176 GB, free: 2.871 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.828e-05/0.4536, allocations: 180.2 kB / 0.6178 GB, free: 2.688 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.4538, allocations: 408.9 kB / 0.6182 GB, free: 2.234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.137e-05/0.4538, allocations: 104.9 kB / 0.6183 GB, free: 2.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.4539, allocations: 104.9 kB / 0.6184 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-05/0.4539, allocations: 180.2 kB / 0.6185 GB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.003e-05/0.454, allocations: 180.3 kB / 0.6187 GB, free: 1.648 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.988e-05/0.4541, allocations: 188.2 kB / 0.6189 GB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.532e-05/0.4541, allocations: 183.5 kB / 0.6191 GB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.4543, allocations: 303.8 kB / 0.6194 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.591e-05/0.4543, allocations: 185.4 kB / 0.6195 GB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.97e-05/0.4544, allocations: 188.6 kB / 0.6197 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.526e-05/0.4545, allocations: 101 kB / 0.6198 GB, free: 464 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.4546, allocations: 192.2 kB / 0.62 GB, free: 264 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.4546, allocations: 105 kB / 0.6201 GB, free: 152 kB / 410.7 MB Notification: Performance of sorting global known variables: time 2.739e-05/0.4546, allocations: 75.28 kB / 0.6202 GB, free: 76 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4546, allocations: 0 / 0.6202 GB, free: 76 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006379/0.4553, allocations: 175 kB / 0.6203 GB, free: 15.91 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0009781/0.4563, allocations: 1.09 MB / 0.6214 GB, free: 14.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 3.316e-05/0.4563, allocations: 4 kB / 0.6214 GB, free: 14.81 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4563, allocations: 0 / 0.6214 GB, free: 14.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.4563, allocations: 3.938 kB / 0.6214 GB, free: 14.81 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.4566, allocations: 0.5219 MB / 0.6219 GB, free: 14.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.457, allocations: 252.9 kB / 0.6222 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.4572, allocations: 0.677 MB / 0.6228 GB, free: 13.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.61e-06/0.4572, allocations: 0 / 0.6228 GB, free: 13.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.108e-05/0.4572, allocations: 7.438 kB / 0.6228 GB, free: 13.29 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4572, allocations: 0 / 0.6228 GB, free: 13.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01561/0.4728, allocations: 3.722 MB / 0.6265 GB, free: 9.676 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.473, allocations: 174.4 kB / 0.6266 GB, free: 9.453 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.467/1.94, allocations: 4.062 kB / 0.6266 GB, free: 9.449 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestNonlinear_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestNonlinear.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear_res.mat does not exist to compare? outputFormat=mat