Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.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.Utilities.TestStrings,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStrings",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.0009742/0.0009743, allocations: 177 kB / 17.06 MB, free: 5.098 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.284/1.284, allocations: 223.2 MB / 241 MB, free: 11.89 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.00099/0.0009902, allocations: 90.86 kB / 292.1 MB, free: 10.93 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.3662/0.3662, allocations: 44.22 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003416, allocations: 16 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3567, allocations: 61.9 MB / 0.5096 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.5098, allocations: 89.21 MB / 0.5968 GB, free: 5.922 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.5101, allocations: 63.95 kB / 0.5968 GB, free: 5.863 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04375/0.5538, allocations: 17.19 MB / 0.6136 GB, free: 4.652 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5539, allocations: 0 / 0.6136 GB, free: 4.652 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.5539, allocations: 4 kB / 0.6136 GB, free: 4.648 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.0007542/0.5547, allocations: 492.9 kB / 0.6141 GB, free: 4.113 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.5547, allocations: 8.031 kB / 0.6141 GB, free: 4.105 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.111e-05/0.5548, allocations: 30.56 kB / 0.6141 GB, free: 4.066 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.5548, allocations: 3.984 kB / 0.6141 GB, free: 4.062 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.568e-05/0.5549, allocations: 167 kB / 0.6143 GB, free: 3.859 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.5549, allocations: 4 kB / 0.6143 GB, free: 3.855 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.5549, allocations: 0 / 0.6143 GB, free: 3.855 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.43e-05/0.555, allocations: 33.64 kB / 0.6143 GB, free: 3.816 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.892e-06/0.555, allocations: 4 kB / 0.6143 GB, free: 3.812 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.555, allocations: 4 kB / 0.6143 GB, free: 3.809 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.5551, allocations: 3.938 kB / 0.6143 GB, free: 3.805 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.771e-05/0.5551, allocations: 0 / 0.6143 GB, free: 3.805 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.5552, allocations: 153.6 kB / 0.6145 GB, free: 3.605 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.123e-05/0.5553, allocations: 18.61 kB / 0.6145 GB, free: 3.578 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.134e-06/0.5553, allocations: 0 / 0.6145 GB, free: 3.578 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.5553, allocations: 60.27 kB / 0.6145 GB, free: 3.504 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.5553, allocations: 0 / 0.6145 GB, free: 3.504 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001609/0.5555, allocations: 67.41 kB / 0.6146 GB, free: 3.426 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.5556, allocations: 81.09 kB / 0.6147 GB, free: 3.328 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.284e-05/0.5556, allocations: 85 kB / 0.6148 GB, free: 3.238 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.5556, allocations: 29.7 kB / 0.6148 GB, free: 3.203 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.655e-05/0.5557, allocations: 80.14 kB / 0.6149 GB, free: 3.121 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.5557, allocations: 0 / 0.6149 GB, free: 3.121 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/0.5557, allocations: 0 / 0.6149 GB, free: 3.121 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.5558, allocations: 319 kB / 0.6152 GB, free: 2.801 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-06/0.5558, allocations: 0 / 0.6152 GB, free: 2.801 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-06/0.5558, allocations: 4 kB / 0.6152 GB, free: 2.797 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.566e-05/0.5559, allocations: 25.7 kB / 0.6152 GB, free: 2.766 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5559, allocations: 0 / 0.6152 GB, free: 2.766 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.157e-05/0.556, allocations: 75.28 kB / 0.6153 GB, free: 2.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.556, allocations: 29.7 kB / 0.6153 GB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.556, allocations: 0 / 0.6153 GB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.5561, allocations: 4.094 kB / 0.6153 GB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.5561, allocations: 0 / 0.6153 GB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.5561, allocations: 4 kB / 0.6153 GB, free: 2.637 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.264e-05/0.5561, allocations: 0 / 0.6153 GB, free: 2.637 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.5561, allocations: 0 / 0.6153 GB, free: 2.637 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 () * Number of clocked 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 9.62e-05/0.5562, allocations: 141.5 kB / 0.6154 GB, free: 2.484 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.5562, allocations: 7.891 kB / 0.6155 GB, free: 2.477 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.676e-05/0.5562, allocations: 10.7 kB / 0.6155 GB, free: 2.469 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.5562, allocations: 0 / 0.6155 GB, free: 2.469 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5563, allocations: 4 kB / 0.6155 GB, free: 2.465 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5563, allocations: 0 / 0.6155 GB, free: 2.465 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.537e-05/0.5564, allocations: 149.6 kB / 0.6156 GB, free: 2.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.5564, allocations: 0 / 0.6156 GB, free: 2.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/0.5564, allocations: 0 / 0.6156 GB, free: 2.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5564, allocations: 3.953 kB / 0.6156 GB, free: 2.266 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.5564, allocations: 3.984 kB / 0.6156 GB, free: 2.262 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5564, allocations: 0 / 0.6156 GB, free: 2.262 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5564, allocations: 0 / 0.6156 GB, free: 2.262 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.5565, allocations: 94.78 kB / 0.6157 GB, free: 2.145 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.5566, allocations: 81.09 kB / 0.6158 GB, free: 2.047 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.5566, allocations: 3.953 kB / 0.6158 GB, free: 2.043 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.808e-06/0.5566, allocations: 4 kB / 0.6158 GB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.5566, allocations: 0 / 0.6158 GB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.5566, allocations: 0 / 0.6158 GB, free: 2.039 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.52e-05/0.5567, allocations: 75.28 kB / 0.6159 GB, free: 1.965 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5567, allocations: 0 / 0.6159 GB, free: 1.965 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005264/0.5572, allocations: 139.9 kB / 0.616 GB, free: 1.828 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) * Number of clocked states: 0 () * 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.001486/0.5587, allocations: 1.053 MB / 0.617 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.857e-05/0.5588, allocations: 55.41 kB / 0.6171 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5588, allocations: 0 / 0.6171 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.825e-05/0.5589, allocations: 59.39 kB / 0.6171 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.477e-05/0.559, allocations: 3.953 kB / 0.6171 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.5594, allocations: 176.2 kB / 0.6173 GB, free: 480 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.5597, allocations: 0.6731 MB / 0.618 GB, free: 15.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.812e-06/0.5597, allocations: 4.125 kB / 0.618 GB, free: 15.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.207e-05/0.5598, allocations: 11.44 kB / 0.618 GB, free: 15.75 MB / 442.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5598, allocations: 0 / 0.618 GB, free: 15.75 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.5783, allocations: 3.656 MB / 0.6215 GB, free: 12.2 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.5785, allocations: 207.9 kB / 0.6217 GB, free: 11.96 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/2.191, allocations: 0 / 0.6217 GB, free: 11.96 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStrings_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStrings.fmu > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings_res.mat does not exist to compare? outputFormat=mat