Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009269/0.0009268, allocations: 103.1 kB / 292.1 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3948/0.3948, allocations: 44.23 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003577, allocations: 8 kB / 460 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3923, allocations: 61.9 MB / 0.5096 GB, free: 38.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1331/0.5254, allocations: 89.38 MB / 0.5969 GB, free: 5.707 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.5257, allocations: 75.92 kB / 0.597 GB, free: 5.637 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03904/0.5647, allocations: 13.1 MB / 0.6098 GB, free: 8.516 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.5648, allocations: 0 / 0.6098 GB, free: 8.516 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.5648, allocations: 0 / 0.6098 GB, free: 8.516 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007049/0.5655, allocations: 452.8 kB / 0.6102 GB, free: 8.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.5656, allocations: 12.03 kB / 0.6102 GB, free: 8.008 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.428e-05/0.5657, allocations: 109.8 kB / 0.6103 GB, free: 7.891 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.703e-05/0.5658, allocations: 75.28 kB / 0.6104 GB, free: 7.816 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.5659, allocations: 242.3 kB / 0.6106 GB, free: 7.539 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.217e-05/0.566, allocations: 150.6 kB / 0.6108 GB, free: 7.391 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.517e-05/0.5661, allocations: 170.5 kB / 0.6109 GB, free: 7.223 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.283e-05/0.5662, allocations: 101 kB / 0.611 GB, free: 7.117 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.5662, allocations: 75.28 kB / 0.6111 GB, free: 7.043 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-05/0.5663, allocations: 154.5 kB / 0.6113 GB, free: 6.891 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.247e-05/0.5664, allocations: 150.6 kB / 0.6114 GB, free: 6.742 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.932e-05/0.5664, allocations: 154.5 kB / 0.6115 GB, free: 6.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.5667, allocations: 450 kB / 0.612 GB, free: 6.102 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.638e-05/0.5668, allocations: 165.1 kB / 0.6121 GB, free: 5.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.5669, allocations: 75.28 kB / 0.6122 GB, free: 5.855 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.426e-05/0.567, allocations: 147.4 kB / 0.6123 GB, free: 5.695 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.567, allocations: 0 / 0.6123 GB, free: 5.695 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 8.354e-05/0.5671, allocations: 33.64 kB / 0.6124 GB, free: 5.656 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.871e-05/0.5671, allocations: 152.4 kB / 0.6125 GB, free: 5.488 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.319e-05/0.5672, allocations: 85 kB / 0.6126 GB, free: 5.398 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.5672, allocations: 29.7 kB / 0.6126 GB, free: 5.363 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.5673, allocations: 84.14 kB / 0.6127 GB, free: 5.277 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.5673, allocations: 0 / 0.6127 GB, free: 5.277 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-07/0.5673, allocations: 0 / 0.6127 GB, free: 5.277 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.5674, allocations: 314.8 kB / 0.613 GB, free: 4.961 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-06/0.5674, allocations: 0 / 0.613 GB, free: 4.961 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.521e-05/0.5675, allocations: 0 / 0.613 GB, free: 4.961 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.902e-05/0.5675, allocations: 79.28 kB / 0.6131 GB, free: 4.883 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.531e-05/0.5676, allocations: 75.28 kB / 0.6132 GB, free: 4.809 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.271e-05/0.5676, allocations: 33.62 kB / 0.6132 GB, free: 4.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.741e-05/0.5677, allocations: 85.47 kB / 0.6133 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.513e-05/0.5677, allocations: 75.28 kB / 0.6133 GB, free: 4.613 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.667e-05/0.5678, allocations: 162.6 kB / 0.6135 GB, free: 4.453 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.028e-05/0.5679, allocations: 79.22 kB / 0.6136 GB, free: 4.375 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.179e-05/0.5679, allocations: 158.6 kB / 0.6137 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.244e-05/0.568, allocations: 79.22 kB / 0.6138 GB, free: 4.141 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.5681, allocations: 75.28 kB / 0.6139 GB, free: 4.066 MB / 426.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 () * Number of clocked 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 0.0001447/0.5682, allocations: 270.3 kB / 0.6141 GB, free: 3.793 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.178e-05/0.5683, allocations: 104.9 kB / 0.6142 GB, free: 3.684 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.423e-05/0.5684, allocations: 104.1 kB / 0.6143 GB, free: 3.578 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.047e-05/0.5684, allocations: 188.2 kB / 0.6145 GB, free: 3.387 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.048e-05/0.5685, allocations: 180.2 kB / 0.6147 GB, free: 3.203 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-05/0.5686, allocations: 180.2 kB / 0.6149 GB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.5688, allocations: 405.2 kB / 0.6152 GB, free: 2.566 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.612e-05/0.5689, allocations: 102.3 kB / 0.6153 GB, free: 2.461 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.446e-05/0.5689, allocations: 105 kB / 0.6154 GB, free: 2.352 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.485e-05/0.569, allocations: 184.2 kB / 0.6156 GB, free: 2.164 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-05/0.5691, allocations: 180.3 kB / 0.6158 GB, free: 1.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.009e-05/0.5692, allocations: 184.2 kB / 0.616 GB, free: 1.793 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.839e-05/0.5692, allocations: 180.2 kB / 0.6161 GB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.5694, allocations: 311.8 kB / 0.6164 GB, free: 1.281 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.929e-05/0.5695, allocations: 186 kB / 0.6166 GB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.403e-05/0.5696, allocations: 188.2 kB / 0.6168 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.5697, allocations: 105.4 kB / 0.6169 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-05/0.5698, allocations: 188.2 kB / 0.6171 GB, free: 0.582 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.572e-05/0.5698, allocations: 108.9 kB / 0.6172 GB, free: 480 kB / 426.7 MB Notification: Performance of sorting global known variables: time 3.336e-05/0.5699, allocations: 79.33 kB / 0.6173 GB, free: 400 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5699, allocations: 0 / 0.6173 GB, free: 400 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007344/0.5706, allocations: 163.7 kB / 0.6174 GB, free: 236 kB / 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 () * Number of clocked 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.00148/0.5721, allocations: 1.081 MB / 0.6185 GB, free: 15.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.189e-05/0.5722, allocations: 7.938 kB / 0.6185 GB, free: 15.13 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5722, allocations: 0 / 0.6185 GB, free: 15.13 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.5722, allocations: 0 / 0.6185 GB, free: 15.13 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.5725, allocations: 0.5224 MB / 0.619 GB, free: 14.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005319/0.573, allocations: 267.4 kB / 0.6192 GB, free: 14.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.5733, allocations: 0.6692 MB / 0.6199 GB, free: 13.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.444e-06/0.5733, allocations: 4 kB / 0.6199 GB, free: 13.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.656e-05/0.5733, allocations: 11.38 kB / 0.6199 GB, free: 13.59 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5733, allocations: 0 / 0.6199 GB, free: 13.59 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.5919, allocations: 3.589 MB / 0.6234 GB, free: 10.11 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002391/0.5922, allocations: 201.5 kB / 0.6236 GB, free: 9.867 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/2.146, allocations: 8 kB / 0.6236 GB, free: 9.859 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestNonlinear_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestNonlinear.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear_res.mat does not exist to compare? outputFormat=mat