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.00191/0.00191, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.6/1.6, allocations: 221.3 MB / 236 MB, free: 2.984 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 99.66 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2355/0.2355, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.665e-05/3.679e-05, allocations: 4.219 kB / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1613, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5043/0.6656, allocations: 89.3 MB / 0.589 GB, free: 15.95 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.666, allocations: 63.97 kB / 0.5891 GB, free: 15.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04107/0.707, allocations: 13.07 MB / 0.6018 GB, free: 2.816 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.7071, allocations: 3.938 kB / 0.6018 GB, free: 2.812 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.7071, allocations: 0 / 0.6018 GB, free: 2.812 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.0008346/0.708, allocations: 444 kB / 0.6023 GB, free: 2.328 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.708, allocations: 8.031 kB / 0.6023 GB, free: 2.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.975e-05/0.7081, allocations: 109.8 kB / 0.6024 GB, free: 2.203 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.638e-05/0.7082, allocations: 75.28 kB / 0.6024 GB, free: 2.129 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.7083, allocations: 238.3 kB / 0.6027 GB, free: 1.855 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.506e-05/0.7084, allocations: 162.5 kB / 0.6028 GB, free: 1.695 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.946e-05/0.7085, allocations: 154.5 kB / 0.603 GB, free: 1.543 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.252e-05/0.7086, allocations: 101 kB / 0.6031 GB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.7086, allocations: 75.28 kB / 0.6031 GB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.715e-05/0.7087, allocations: 154.6 kB / 0.6033 GB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.658e-05/0.7088, allocations: 154.6 kB / 0.6034 GB, free: 1.059 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.174e-05/0.7089, allocations: 158.5 kB / 0.6036 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.7092, allocations: 438 kB / 0.604 GB, free: 436 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.7093, allocations: 169.1 kB / 0.6042 GB, free: 256 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.536e-05/0.7094, allocations: 80.14 kB / 0.6042 GB, free: 172 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.35e-05/0.7094, allocations: 87.22 kB / 0.6043 GB, free: 84 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001122/0.7095, allocations: 143.5 kB / 0.6045 GB, free: 15.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 2.244e-06/0.7096, allocations: 0 / 0.6045 GB, free: 15.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 8.902e-05/0.7097, allocations: 25.7 kB / 0.6045 GB, free: 15.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.7098, allocations: 152.4 kB / 0.6046 GB, free: 15.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.525e-05/0.7098, allocations: 85 kB / 0.6047 GB, free: 15.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.7099, allocations: 33.7 kB / 0.6047 GB, free: 15.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.7099, allocations: 80.14 kB / 0.6048 GB, free: 15.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.7099, allocations: 0 / 0.6048 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-07/0.71, allocations: 0 / 0.6048 GB, free: 15.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.7101, allocations: 314.8 kB / 0.6051 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.458e-06/0.7101, allocations: 0 / 0.6051 GB, free: 15.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.782e-05/0.7101, allocations: 4 kB / 0.6051 GB, free: 15.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.545e-05/0.7102, allocations: 75.28 kB / 0.6052 GB, free: 15.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.213e-05/0.7102, allocations: 79.31 kB / 0.6053 GB, free: 15.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.28e-05/0.7103, allocations: 40.39 kB / 0.6053 GB, free: 15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.048e-05/0.7104, allocations: 80.38 kB / 0.6054 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.857e-05/0.7104, allocations: 87.27 kB / 0.6055 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.471e-05/0.7105, allocations: 154.5 kB / 0.6056 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.545e-05/0.7105, allocations: 79.28 kB / 0.6057 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.316e-05/0.7106, allocations: 150.6 kB / 0.6058 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.941e-05/0.7107, allocations: 87.22 kB / 0.6059 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.7108, allocations: 75.28 kB / 0.606 GB, free: 14.3 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 () * 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.0001359/0.7109, allocations: 259.5 kB / 0.6062 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.211e-05/0.711, allocations: 108.9 kB / 0.6063 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.28e-05/0.711, allocations: 111.8 kB / 0.6065 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.984e-05/0.7111, allocations: 192.1 kB / 0.6066 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.032e-05/0.7112, allocations: 176.3 kB / 0.6068 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.043e-05/0.7113, allocations: 184.2 kB / 0.607 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.7116, allocations: 401.2 kB / 0.6074 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.982e-05/0.7116, allocations: 101 kB / 0.6075 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.018e-05/0.7117, allocations: 104.9 kB / 0.6076 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.056e-05/0.7118, allocations: 188.2 kB / 0.6077 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-05/0.7119, allocations: 180.3 kB / 0.6079 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.695e-05/0.7119, allocations: 180.2 kB / 0.6081 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.634e-05/0.712, allocations: 184.2 kB / 0.6083 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.7122, allocations: 311.8 kB / 0.6086 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.783e-05/0.7123, allocations: 182.1 kB / 0.6087 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.7125, allocations: 180.6 kB / 0.6089 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.015e-05/0.7126, allocations: 105 kB / 0.609 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.7127, allocations: 184.2 kB / 0.6092 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.956e-05/0.7127, allocations: 109 kB / 0.6093 GB, free: 10.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.693e-05/0.7128, allocations: 79.28 kB / 0.6094 GB, free: 10.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.7128, allocations: 0 / 0.6094 GB, free: 10.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008875/0.7137, allocations: 167.7 kB / 0.6095 GB, free: 10.46 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.001654/0.7153, allocations: 1.093 MB / 0.6106 GB, free: 9.363 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.876e-05/0.7154, allocations: 0 / 0.6106 GB, free: 9.363 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7154, allocations: 0 / 0.6106 GB, free: 9.363 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.022e-06/0.7154, allocations: 0 / 0.6106 GB, free: 9.363 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.7158, allocations: 0.5302 MB / 0.6111 GB, free: 8.828 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006512/0.7165, allocations: 238.4 kB / 0.6113 GB, free: 8.559 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.7168, allocations: 0.677 MB / 0.612 GB, free: 7.855 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.606e-06/0.7168, allocations: 0 / 0.612 GB, free: 7.855 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.217e-05/0.7169, allocations: 7.438 kB / 0.612 GB, free: 7.848 MB / 426.7 MB Notification: Performance of SimCode: time 1.163e-06/0.7169, allocations: 0 / 0.612 GB, free: 7.848 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.7372, allocations: 3.61 MB / 0.6155 GB, free: 4.328 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/0.7375, allocations: 183 kB / 0.6157 GB, free: 4.098 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/2.347, allocations: 0 / 0.6157 GB, free: 4.098 MB / 426.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