Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2.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_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_2",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.0009594/0.0009628, allocations: 181.1 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.151/1.151, allocations: 223.2 MB / 240.3 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.0008373/0.0008373, allocations: 90.39 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6568/0.6568, allocations: 120.5 MB / 463 MB, free: 8.699 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002649/0.0002649, allocations: 8 kB / 0.5434 GB, free: 42.28 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1146, allocations: 82.84 MB / 0.6243 GB, free: 9.105 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5709/0.6856, allocations: 147.3 MB / 0.7681 GB, free: 3.043 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/0.6858, allocations: 82.12 kB / 0.7682 GB, free: 3.004 MB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.2497/0.9356, allocations: 106.7 MB / 0.8724 GB, free: 6.215 MB / 0.62 GB Notification: Performance of FrontEnd: time 2.083e-06/0.9356, allocations: 4 kB / 0.8724 GB, free: 6.211 MB / 0.62 GB Notification: Performance of Transformations before backend: time 0.0003687/0.936, allocations: 103.8 kB / 0.8725 GB, free: 6.113 MB / 0.62 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1606 * Number of variables: 1606 Notification: Performance of Generate backend data structure: time 0.017/0.953, allocations: 6.57 MB / 0.8789 GB, free: 15.88 MB / 0.6357 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.953, allocations: 8.031 kB / 0.8789 GB, free: 15.87 MB / 0.6357 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002773/0.9558, allocations: 0.8394 MB / 0.8798 GB, free: 15.33 MB / 0.6357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0335/0.9893, allocations: 9.766 MB / 0.8893 GB, free: 6.504 MB / 0.6357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01993/1.009, allocations: 8.316 MB / 0.8974 GB, free: 15.71 MB / 0.6513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003238/1.01, allocations: 344.7 kB / 0.8978 GB, free: 15.49 MB / 0.6513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001868/1.012, allocations: 486 kB / 0.8982 GB, free: 15.14 MB / 0.6513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02312/1.035, allocations: 12.23 MB / 0.9102 GB, free: 4.672 MB / 0.6513 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003552/1.035, allocations: 79.17 kB / 0.9102 GB, free: 4.598 MB / 0.6513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001535/1.037, allocations: 226.6 kB / 0.9105 GB, free: 4.5 MB / 0.6513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00149/1.038, allocations: 1.07 MB / 0.9115 GB, free: 3.578 MB / 0.6513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01851/1.057, allocations: 10.3 MB / 0.9216 GB, free: 11.77 MB / 0.6669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5121/1.569, allocations: 51.99 MB / 0.9723 GB, free: 155.9 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/1.58, allocations: 4.907 MB / 0.9771 GB, free: 155.2 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003999/1.58, allocations: 363.5 kB / 0.9775 GB, free: 154.9 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008106/1.588, allocations: 3.299 MB / 0.9807 GB, free: 154.8 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=209): time 4.177e-06/1.588, allocations: 3.781 kB / 0.9807 GB, free: 154.8 MB / 0.6828 GB Notification: Performance of matching and sorting (n=254): time 0.05524/1.643, allocations: 28.82 MB / 1.009 GB, free: 151.1 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.762e-05/1.644, allocations: 312.8 kB / 1.009 GB, free: 150.8 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005038/1.649, allocations: 4.66 MB / 1.014 GB, free: 150.4 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0002997/1.649, allocations: 63.67 kB / 1.014 GB, free: 150.4 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.002044/1.651, allocations: 3.542 MB / 1.017 GB, free: 149 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006859/1.652, allocations: 0.9616 MB / 1.018 GB, free: 148.5 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/1.652, allocations: 126.8 kB / 1.018 GB, free: 148.5 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.000237/1.652, allocations: 0.5752 MB / 1.019 GB, free: 148.1 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002979/1.655, allocations: 2.914 MB / 1.022 GB, free: 148.1 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004321/1.66, allocations: 6.459 MB / 1.028 GB, free: 143.6 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004142/1.664, allocations: 4.385 MB / 1.032 GB, free: 142.5 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.734e-05/1.664, allocations: 35.78 kB / 1.032 GB, free: 142.5 MB / 0.6828 GB Notification: Performance of matching and sorting (n=825) (initialization): time 0.01358/1.677, allocations: 11.01 MB / 1.043 GB, free: 139.6 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 7.745e-05/1.677, allocations: 83.67 kB / 1.043 GB, free: 139.5 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.892e-05/1.678, allocations: 126.7 kB / 1.043 GB, free: 139.5 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00374/1.681, allocations: 1.982 MB / 1.045 GB, free: 139.3 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003841/1.685, allocations: 1.471 MB / 1.047 GB, free: 139.1 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/1.696, allocations: 11.72 MB / 1.058 GB, free: 134.7 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00459/1.701, allocations: 459.1 kB / 1.059 GB, free: 134.6 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007835/1.702, allocations: 378.6 kB / 1.059 GB, free: 134.6 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 560 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition1,$PRE.pulse1.T_start,pulse1.T_start,$PRE.pulse1.count,pulse1.count,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[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 (763): * Single equations (assignments): 758 * 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 {(3,88.9%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00419/1.706, allocations: 2.928 MB / 1.062 GB, free: 133.1 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007647/1.707, allocations: 438.4 kB / 1.062 GB, free: 132.7 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009044/1.716, allocations: 6.096 MB / 1.068 GB, free: 128.1 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.968e-05/1.716, allocations: 31.94 kB / 1.068 GB, free: 128.1 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/1.716, allocations: 8 kB / 1.068 GB, free: 128.1 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-05/1.716, allocations: 10.36 kB / 1.068 GB, free: 128.1 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02289/1.739, allocations: 14.31 MB / 1.082 GB, free: 116.6 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.618e-05/1.739, allocations: 8 kB / 1.082 GB, free: 116.6 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/1.74, allocations: 436.8 kB / 1.083 GB, free: 116.3 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003591/1.744, allocations: 1.742 MB / 1.084 GB, free: 115.1 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000242/1.744, allocations: 59.94 kB / 1.084 GB, free: 115.1 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009976/1.754, allocations: 10.51 MB / 1.095 GB, free: 105.1 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/1.754, allocations: 11.94 kB / 1.095 GB, free: 105.1 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/1.766, allocations: 10.76 MB / 1.105 GB, free: 93.94 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002582/1.768, allocations: 0.9434 MB / 1.106 GB, free: 92.98 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009604/1.769, allocations: 64.53 kB / 1.106 GB, free: 92.92 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00215/1.771, allocations: 237.4 kB / 1.106 GB, free: 92.69 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003969/1.772, allocations: 185.9 kB / 1.106 GB, free: 92.51 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/1.772, allocations: 72 kB / 1.107 GB, free: 92.44 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.003872/1.776, allocations: 3.386 MB / 1.11 GB, free: 89.06 MB / 0.6828 GB Notification: Performance of sort global known variables: time 2e-07/1.776, allocations: 0 / 1.11 GB, free: 89.06 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.004487/1.78, allocations: 1.293 MB / 1.111 GB, free: 87.77 MB / 0.6828 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].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 (200): * Single equations (assignments): 194 * 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 {(2,100.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01128/1.792, allocations: 13.38 MB / 1.124 GB, free: 74.11 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.007968/1.8, allocations: 6.952 MB / 1.131 GB, free: 67.17 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/1.8, allocations: 4.688 kB / 1.131 GB, free: 67.17 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.002854/1.803, allocations: 2.668 MB / 1.134 GB, free: 64.49 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003064/1.806, allocations: 0.6559 MB / 1.134 GB, free: 63.86 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3384/2.144, allocations: 133.4 MB / 1.264 GB, free: 156.3 MB / 0.6984 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003329/2.147, allocations: 4.244 MB / 1.269 GB, free: 155.5 MB / 0.6984 GB Notification: Performance of simCode: alias equations: time 0.00514/2.153, allocations: 2.77 MB / 1.271 GB, free: 155.4 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002276/2.155, allocations: 2.312 MB / 1.274 GB, free: 155.4 MB / 0.6984 GB Notification: Performance of SimCode: time 1.332e-05/2.155, allocations: 0 / 1.274 GB, free: 155.4 MB / 0.6984 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1238/2.279, allocations: 110.5 MB / 1.381 GB, free: 90.27 MB / 0.6984 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/2.279, allocations: 234.9 kB / 1.382 GB, free: 90.02 MB / 0.6984 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.205/6.484, allocations: 0 / 1.382 GB, free: 90.02 MB / 0.6984 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_2_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=3e-08 ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_2.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2_res.mat does not exist to compare? outputFormat=mat