Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_4",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.0009152/0.0009153, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.152/1.152, allocations: 223.2 MB / 240.3 MB, free: 10.16 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.0008558/0.0008558, allocations: 96.59 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6418/0.6418, allocations: 120.5 MB / 463 MB, free: 8.723 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002644/0.0002644, allocations: 8 kB / 0.5434 GB, free: 42.32 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1139, allocations: 82.84 MB / 0.6243 GB, free: 9.133 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5521/0.6661, allocations: 147.3 MB / 0.7682 GB, free: 2.98 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001907/0.6663, allocations: 82.23 kB / 0.7682 GB, free: 2.941 MB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.3482/1.015, allocations: 147.5 MB / 0.9123 GB, free: 2.816 MB / 0.6513 GB Notification: Performance of FrontEnd: time 2.104e-06/1.015, allocations: 0 / 0.9123 GB, free: 2.816 MB / 0.6513 GB Notification: Performance of Transformations before backend: time 0.0006254/1.015, allocations: 148 kB / 0.9124 GB, free: 2.672 MB / 0.6513 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2218 * Number of variables: 2218 Notification: Performance of Generate backend data structure: time 0.02766/1.043, allocations: 9.859 MB / 0.9221 GB, free: 9.363 MB / 0.6669 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.043, allocations: 12.03 kB / 0.9221 GB, free: 9.352 MB / 0.6669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004527/1.047, allocations: 1.154 MB / 0.9232 GB, free: 8.629 MB / 0.6669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05298/1.1, allocations: 15.18 MB / 0.938 GB, free: 11.02 MB / 0.6825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02772/1.128, allocations: 12.49 MB / 0.9502 GB, free: 0.9336 MB / 0.6825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004883/1.129, allocations: 493.3 kB / 0.9507 GB, free: 0.625 MB / 0.6825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002912/1.132, allocations: 0.6676 MB / 0.9513 GB, free: 144 kB / 0.6825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4949/1.627, allocations: 17.58 MB / 0.9685 GB, free: 165.3 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003329/1.627, allocations: 109.1 kB / 0.9686 GB, free: 165.3 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008883/1.628, allocations: 304.9 kB / 0.9689 GB, free: 165.3 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001772/1.63, allocations: 1.47 MB / 0.9703 GB, free: 165.2 MB / 0.6828 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02359/1.653, allocations: 15.12 MB / 0.9851 GB, free: 165.2 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06975/1.723, allocations: 71.36 MB / 1.055 GB, free: 122.4 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01686/1.74, allocations: 8.492 MB / 1.063 GB, free: 120.1 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005395/1.741, allocations: 387.3 kB / 1.063 GB, free: 119.8 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0149/1.755, allocations: 6.226 MB / 1.07 GB, free: 118.6 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=337): time 8.586e-06/1.756, allocations: 3.719 kB / 1.07 GB, free: 118.6 MB / 0.6828 GB Notification: Performance of matching and sorting (n=429): time 0.1425/1.898, allocations: 62.67 MB / 1.131 GB, free: 74.81 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/1.898, allocations: 432.5 kB / 1.131 GB, free: 74.29 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009974/1.908, allocations: 6.393 MB / 1.137 GB, free: 68 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.001077/1.909, allocations: 93.7 kB / 1.137 GB, free: 67.9 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.003524/1.913, allocations: 4.757 MB / 1.142 GB, free: 63.41 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.001972/1.915, allocations: 1.584 MB / 1.144 GB, free: 61.85 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005638/1.915, allocations: 168 kB / 1.144 GB, free: 61.68 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0003543/1.916, allocations: 0.6771 MB / 1.144 GB, free: 61 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00583/1.922, allocations: 5.149 MB / 1.15 GB, free: 55.84 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007258/1.929, allocations: 9.417 MB / 1.159 GB, free: 44.47 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0078/1.937, allocations: 7.097 MB / 1.166 GB, free: 37.46 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001062/1.937, allocations: 40 kB / 1.166 GB, free: 37.42 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.03079/1.968, allocations: 19.34 MB / 1.185 GB, free: 18.02 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001935/1.968, allocations: 96.42 kB / 1.185 GB, free: 17.93 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001829/1.968, allocations: 144 kB / 1.185 GB, free: 17.79 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0114/1.979, allocations: 5.323 MB / 1.19 GB, free: 12.45 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006483/1.986, allocations: 1.965 MB / 1.192 GB, free: 10.48 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3023/2.288, allocations: 29.72 MB / 1.221 GB, free: 160.6 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007149/2.296, allocations: 0.7639 MB / 1.222 GB, free: 160.6 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00145/2.297, allocations: 478 kB / 1.222 GB, free: 160.6 MB / 0.6984 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 656 * Number of states: 0 () * Number of discrete variables: 62 ($whenCondition1,$PRE.pulse1.T_start,pulse1.T_start,$PRE.pulse1.count,pulse1.count,bodybox[5].color[3],bodybox[5].color[2],bodybox[5].color[1],bodybox[5].body.sphereColor[3],bodybox[5].body.sphereColor[2],bodybox[5].body.sphereColor[1],bodybox[4].color[3],bodybox[4].color[2],bodybox[4].color[1],bodybox[4].body.sphereColor[3],bodybox[4].body.sphereColor[2],bodybox[4].body.sphereColor[1],bodybox[3].color[3],bodybox[3].color[2],bodybox[3].color[1],bodybox[3].body.sphereColor[3],bodybox[3].body.sphereColor[2],bodybox[3].body.sphereColor[1],bodybox[2].color[3],bodybox[2].color[2],bodybox[2].color[1],bodybox[2].body.sphereColor[3],bodybox[2].body.sphereColor[2],bodybox[2].body.sphereColor[1],bodybox[1].color[3],bodybox[1].color[2],bodybox[1].color[1],bodybox[1].body.sphereColor[3],bodybox[1].body.sphereColor[2],bodybox[1].body.sphereColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],revolute[4].cylinderColor[3],revolute[4].cylinderColor[2],revolute[4].cylinderColor[1],revolute[3].cylinderColor[3],revolute[3].cylinderColor[2],revolute[3].cylinderColor[1],revolute[2].cylinderColor[3],revolute[2].cylinderColor[2],revolute[2].cylinderColor[1],revolute[1].cylinderColor[3],revolute[1].cylinderColor[2],revolute[1].cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (978): * Single equations (assignments): 973 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,83.3%) 92} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007076/2.304, allocations: 4.218 MB / 1.226 GB, free: 160.5 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/2.305, allocations: 0.6207 MB / 1.227 GB, free: 160.5 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02304/2.328, allocations: 13.98 MB / 1.241 GB, free: 160.2 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-05/2.328, allocations: 43.41 kB / 1.241 GB, free: 160.2 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.502e-05/2.329, allocations: 18.78 kB / 1.241 GB, free: 160.2 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.03e-05/2.329, allocations: 21 kB / 1.241 GB, free: 160.2 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04088/2.369, allocations: 28.35 MB / 1.268 GB, free: 158.4 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.492e-05/2.37, allocations: 10.78 kB / 1.268 GB, free: 158.4 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002881/2.372, allocations: 0.7224 MB / 1.269 GB, free: 158.4 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01039/2.383, allocations: 5.067 MB / 1.274 GB, free: 158.4 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007231/2.384, allocations: 85.5 kB / 1.274 GB, free: 158.4 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02946/2.413, allocations: 27.74 MB / 1.301 GB, free: 151.7 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.074e-05/2.413, allocations: 20.81 kB / 1.301 GB, free: 151.7 MB / 0.6984 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02866/2.442, allocations: 22.18 MB / 1.323 GB, free: 144 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004718/2.447, allocations: 1.591 MB / 1.324 GB, free: 143.4 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001664/2.448, allocations: 88.81 kB / 1.324 GB, free: 143.3 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004058/2.452, allocations: 0.5245 MB / 1.325 GB, free: 143.3 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/2.453, allocations: 301.6 kB / 1.325 GB, free: 143.2 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005155/2.454, allocations: 119.7 kB / 1.325 GB, free: 143.2 MB / 0.6984 GB Notification: Performance of sorting global known variables: time 0.007481/2.461, allocations: 4.708 MB / 1.33 GB, free: 141.8 MB / 0.6984 GB Notification: Performance of sort global known variables: time 4.21e-07/2.461, allocations: 0 / 1.33 GB, free: 141.8 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.008337/2.47, allocations: 2.095 MB / 1.332 GB, free: 141.4 MB / 0.6984 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 10 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w,revolute[3].phi,revolute[3].w,revolute[4].phi,revolute[4].w,prismatic1.s,prismatic1.v) * Number of discrete variables: 3 ($whenCondition1,pulse1.T_start,pulse1.count) * Number of discrete states: 1 (pulse1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (319): * Single equations (assignments): 313 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,70.3%) 87} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02849/2.498, allocations: 24.69 MB / 1.356 GB, free: 121 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.0151/2.513, allocations: 12.48 MB / 1.368 GB, free: 110.9 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 2.741e-05/2.513, allocations: 0 / 1.368 GB, free: 110.9 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.007373/2.521, allocations: 5.728 MB / 1.374 GB, free: 105.3 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005795/2.527, allocations: 1.014 MB / 1.375 GB, free: 104.4 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3927/2.919, allocations: 181.8 MB / 1.552 GB, free: 114 MB / 0.6984 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005999/2.925, allocations: 5.964 MB / 1.558 GB, free: 113.1 MB / 0.6984 GB Notification: Performance of simCode: alias equations: time 0.008704/2.934, allocations: 4.237 MB / 1.562 GB, free: 113 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003828/2.938, allocations: 3.466 MB / 1.566 GB, free: 113 MB / 0.6984 GB Notification: Performance of SimCode: time 9.057e-06/2.938, allocations: 0 / 1.566 GB, free: 113 MB / 0.6984 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4601/3.398, allocations: 180.5 MB / 1.742 GB, free: 140 MB / 0.714 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/3.398, allocations: 231.5 kB / 1.742 GB, free: 139.7 MB / 0.714 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.591/8.989, allocations: 0 / 1.742 GB, free: 139.7 MB / 0.714 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_4_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=3e-08 ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_4.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4_res.mat does not exist to compare? outputFormat=mat