Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.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.TestMatrices2b,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b",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.001554/0.001554, allocations: 180.5 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.745/1.745, allocations: 221.3 MB / 236 MB, free: 2.973 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.001164/0.001165, allocations: 79.88 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.2482/0.2482, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.337e-05/3.353e-05, allocations: 224 / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1472, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5132/0.6605, allocations: 89.88 MB / 0.5896 GB, free: 15.36 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/0.6609, allocations: 63.97 kB / 0.5896 GB, free: 15.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1105/0.7714, allocations: 25.82 MB / 0.6148 GB, free: 5.465 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.7715, allocations: 0 / 0.6148 GB, free: 5.465 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.7715, allocations: 0 / 0.6148 GB, free: 5.465 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0008663/0.7724, allocations: 442.1 kB / 0.6153 GB, free: 4.984 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.798e-05/0.7725, allocations: 8.031 kB / 0.6153 GB, free: 4.977 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.705e-05/0.7725, allocations: 30.56 kB / 0.6153 GB, free: 4.938 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.7726, allocations: 0 / 0.6153 GB, free: 4.938 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.7727, allocations: 163 kB / 0.6155 GB, free: 4.738 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.7727, allocations: 4 kB / 0.6155 GB, free: 4.734 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.7728, allocations: 0 / 0.6155 GB, free: 4.734 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.7729, allocations: 29.69 kB / 0.6155 GB, free: 4.699 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.7729, allocations: 0 / 0.6155 GB, free: 4.699 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.7729, allocations: 7.938 kB / 0.6155 GB, free: 4.691 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.773, allocations: 4 kB / 0.6155 GB, free: 4.688 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.527e-05/0.773, allocations: 0 / 0.6155 GB, free: 4.688 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.7732, allocations: 149.6 kB / 0.6156 GB, free: 4.492 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.158e-05/0.7733, allocations: 18.61 kB / 0.6157 GB, free: 4.465 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.7733, allocations: 4.859 kB / 0.6157 GB, free: 4.457 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.7733, allocations: 0 / 0.6157 GB, free: 4.457 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.711e-05/0.7734, allocations: 64.31 kB / 0.6157 GB, free: 4.379 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 2.064e-06/0.7734, allocations: 7.938 kB / 0.6157 GB, free: 4.371 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002114/0.7736, allocations: 59.34 kB / 0.6158 GB, free: 4.301 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/0.7737, allocations: 81.11 kB / 0.6159 GB, free: 4.203 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.449e-05/0.7738, allocations: 92.94 kB / 0.616 GB, free: 4.105 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.7738, allocations: 25.7 kB / 0.616 GB, free: 4.074 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.7739, allocations: 80.14 kB / 0.6161 GB, free: 3.992 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.7739, allocations: 0 / 0.6161 GB, free: 3.992 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.7739, allocations: 0 / 0.6161 GB, free: 3.992 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.7741, allocations: 314.9 kB / 0.6164 GB, free: 3.676 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.7741, allocations: 0 / 0.6164 GB, free: 3.676 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.204e-05/0.7741, allocations: 7.984 kB / 0.6164 GB, free: 3.668 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.522e-05/0.7742, allocations: 25.7 kB / 0.6164 GB, free: 3.637 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7742, allocations: 0 / 0.6164 GB, free: 3.637 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001291/0.7743, allocations: 71.3 kB / 0.6165 GB, free: 3.555 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/0.7744, allocations: 30.64 kB / 0.6165 GB, free: 3.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.7744, allocations: 0 / 0.6165 GB, free: 3.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.7744, allocations: 96 / 0.6165 GB, free: 3.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.005e-06/0.7745, allocations: 15.98 kB / 0.6165 GB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.7745, allocations: 0 / 0.6165 GB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.876e-05/0.7745, allocations: 0 / 0.6165 GB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-06/0.7745, allocations: 0 / 0.6165 GB, free: 3.504 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: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001182/0.7746, allocations: 134.7 kB / 0.6166 GB, free: 3.359 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.7747, allocations: 7.938 kB / 0.6166 GB, free: 3.352 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.675e-05/0.7747, allocations: 3.125 kB / 0.6166 GB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.7747, allocations: 0 / 0.6166 GB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.7747, allocations: 0 / 0.6166 GB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.7747, allocations: 4 kB / 0.6166 GB, free: 3.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.7749, allocations: 149.7 kB / 0.6168 GB, free: 3.145 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.7749, allocations: 0 / 0.6168 GB, free: 3.145 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-06/0.7749, allocations: 0 / 0.6168 GB, free: 3.145 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.7749, allocations: 0 / 0.6168 GB, free: 3.145 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.7749, allocations: 3.953 kB / 0.6168 GB, free: 3.141 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.775, allocations: 0 / 0.6168 GB, free: 3.141 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.775, allocations: 0 / 0.6168 GB, free: 3.141 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.7751, allocations: 98.77 kB / 0.6169 GB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.7752, allocations: 77.11 kB / 0.617 GB, free: 2.926 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.7752, allocations: 3.938 kB / 0.617 GB, free: 2.922 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.729e-05/0.7753, allocations: 7.953 kB / 0.617 GB, free: 2.914 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.7753, allocations: 0 / 0.617 GB, free: 2.914 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.7753, allocations: 0 / 0.617 GB, free: 2.914 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.859e-05/0.7754, allocations: 75.28 kB / 0.617 GB, free: 2.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.7754, allocations: 0 / 0.617 GB, free: 2.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008331/0.7762, allocations: 159.9 kB / 0.6172 GB, free: 2.684 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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001881/0.7781, allocations: 0.8755 MB / 0.6181 GB, free: 1.797 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.7783, allocations: 59.41 kB / 0.6181 GB, free: 1.727 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7783, allocations: 0 / 0.6181 GB, free: 1.727 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.055e-05/0.7784, allocations: 59.47 kB / 0.6182 GB, free: 1.656 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.7785, allocations: 5.359 kB / 0.6182 GB, free: 1.652 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005559/0.7791, allocations: 146.4 kB / 0.6183 GB, free: 1.473 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.7794, allocations: 0.6731 MB / 0.619 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.514e-06/0.7794, allocations: 0 / 0.619 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.918e-05/0.7795, allocations: 11.44 kB / 0.619 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of SimCode: time 3.1e-07/0.7795, allocations: 0 / 0.619 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.8016, allocations: 5.244 MB / 0.6241 GB, free: 11.59 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/0.8018, allocations: 186.3 kB / 0.6243 GB, free: 11.36 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.636, allocations: 0 / 0.6243 GB, free: 11.36 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_res.mat does not exist to compare? outputFormat=mat