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.001233/0.001233, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.587/1.587, allocations: 221.3 MB / 235.5 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.001148/0.001148, allocations: 91.86 kB / 286.5 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.222/1.222, allocations: 120.5 MB / 457.9 MB, free: 7.039 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 4.062e-05/4.086e-05, allocations: 4 kB / 0.5358 GB, free: 12.09 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8597/0.8598, allocations: 82.83 MB / 0.6167 GB, free: 9.324 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.156/2.016, allocations: 147.2 MB / 0.7605 GB, free: 42.46 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/2.017, allocations: 76.38 kB / 0.7605 GB, free: 42.46 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.2794/2.296, allocations: 106.8 MB / 0.8648 GB, free: 15.37 MB / 0.5734 GB Notification: Performance of FrontEnd: time 3.637e-06/2.296, allocations: 0 / 0.8648 GB, free: 15.37 MB / 0.5734 GB Notification: Performance of Transformations before backend: time 0.0005433/2.297, allocations: 99.98 kB / 0.8649 GB, free: 15.27 MB / 0.5734 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.02482/2.322, allocations: 5.933 MB / 0.8707 GB, free: 9.641 MB / 0.5734 GB Notification: Performance of prepare preOptimizeDAE: time 9.784e-05/2.322, allocations: 8.031 kB / 0.8707 GB, free: 9.633 MB / 0.5734 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004984/2.327, allocations: 0.8366 MB / 0.8715 GB, free: 9.102 MB / 0.5734 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04022/2.367, allocations: 9.782 MB / 0.8811 GB, free: 264 kB / 0.5734 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02407/2.391, allocations: 8.266 MB / 0.8891 GB, free: 9.508 MB / 0.589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004397/2.392, allocations: 348.6 kB / 0.8895 GB, free: 9.285 MB / 0.589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002709/2.394, allocations: 482.7 kB / 0.8899 GB, free: 8.941 MB / 0.589 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03105/2.425, allocations: 12.14 MB / 0.9018 GB, free: 14.56 MB / 0.6046 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006124/2.426, allocations: 78.61 kB / 0.9019 GB, free: 14.49 MB / 0.6046 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00238/2.428, allocations: 220 kB / 0.9021 GB, free: 14.39 MB / 0.6046 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001963/2.43, allocations: 1.075 MB / 0.9031 GB, free: 13.47 MB / 0.6046 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02259/2.453, allocations: 10.11 MB / 0.913 GB, free: 5.801 MB / 0.6046 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08289/2.536, allocations: 52 MB / 0.9638 GB, free: 7.145 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.013/2.549, allocations: 4.844 MB / 0.9685 GB, free: 3.062 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003727/2.553, allocations: 2.623 MB / 0.9711 GB, free: 1.32 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005573/2.553, allocations: 360 kB / 0.9714 GB, free: 0.9219 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009796/2.563, allocations: 3.26 MB / 0.9746 GB, free: 14.16 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=209): time 1.513e-05/2.563, allocations: 0 / 0.9746 GB, free: 14.16 MB / 0.6671 GB Notification: Performance of matching and sorting (n=254): time 0.07134/2.635, allocations: 25.55 MB / 0.9995 GB, free: 8.051 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001662/2.635, allocations: 308.7 kB / 0.9998 GB, free: 7.68 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01094/2.646, allocations: 4.62 MB / 1.004 GB, free: 4.109 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0006511/2.647, allocations: 62.45 kB / 1.004 GB, free: 4.07 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.004646/2.651, allocations: 3.547 MB / 1.008 GB, free: 1.336 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.001586/2.653, allocations: 0.96 MB / 1.009 GB, free: 0.5039 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009735/2.654, allocations: 124.2 kB / 1.009 GB, free: 492 kB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.4501/3.104, allocations: 0.5783 MB / 1.009 GB, free: 189.8 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00741/3.111, allocations: 2.839 MB / 1.012 GB, free: 189.8 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006781/3.118, allocations: 6.398 MB / 1.019 GB, free: 185.2 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006765/3.125, allocations: 4.361 MB / 1.023 GB, free: 185.2 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000109/3.125, allocations: 39.19 kB / 1.023 GB, free: 185.2 MB / 0.6828 GB Notification: Performance of matching and sorting (n=825) (initialization): time 0.01775/3.143, allocations: 10.88 MB / 1.033 GB, free: 184.6 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/3.143, allocations: 85.95 kB / 1.034 GB, free: 184.6 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001115/3.143, allocations: 122.3 kB / 1.034 GB, free: 184.6 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004146/3.147, allocations: 1.974 MB / 1.036 GB, free: 184.6 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004651/3.152, allocations: 1.47 MB / 1.037 GB, free: 184.5 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01318/3.165, allocations: 11.33 MB / 1.048 GB, free: 183.1 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006156/3.171, allocations: 463.7 kB / 1.049 GB, free: 183.1 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00131/3.173, allocations: 365.7 kB / 1.049 GB, free: 183.1 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 () * 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.001204/3.174, allocations: 0.5872 MB / 1.049 GB, free: 182.8 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009019/3.175, allocations: 444.9 kB / 1.05 GB, free: 182.8 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009531/3.184, allocations: 6.014 MB / 1.056 GB, free: 182.4 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.893e-05/3.184, allocations: 30.38 kB / 1.056 GB, free: 182.4 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/3.184, allocations: 7.5 kB / 1.056 GB, free: 182.4 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.714e-05/3.185, allocations: 14.86 kB / 1.056 GB, free: 182.4 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0262/3.211, allocations: 14.22 MB / 1.07 GB, free: 177.8 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.292e-05/3.211, allocations: 8.125 kB / 1.07 GB, free: 177.8 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/3.213, allocations: 435.8 kB / 1.07 GB, free: 177.8 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004047/3.217, allocations: 1.741 MB / 1.072 GB, free: 177.6 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003451/3.217, allocations: 56.58 kB / 1.072 GB, free: 177.5 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01339/3.23, allocations: 10.13 MB / 1.082 GB, free: 173.8 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.789e-05/3.231, allocations: 11.47 kB / 1.082 GB, free: 173.8 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02033/3.251, allocations: 10.65 MB / 1.092 GB, free: 168.3 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004121/3.255, allocations: 0.9427 MB / 1.093 GB, free: 167.4 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001774/3.257, allocations: 55.75 kB / 1.093 GB, free: 167.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003602/3.261, allocations: 238 kB / 1.093 GB, free: 167.2 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008324/3.261, allocations: 178.2 kB / 1.094 GB, free: 167.1 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000349/3.262, allocations: 81.23 kB / 1.094 GB, free: 167 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.008932/3.271, allocations: 3.348 MB / 1.097 GB, free: 164.1 MB / 0.6828 GB Notification: Performance of sort global known variables: time 5.21e-07/3.271, allocations: 3.656 kB / 1.097 GB, free: 164.1 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.009492/3.28, allocations: 1.293 MB / 1.098 GB, free: 162.8 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) * 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.01677/3.297, allocations: 13.24 MB / 1.111 GB, free: 151.1 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.01197/3.309, allocations: 6.85 MB / 1.118 GB, free: 145.2 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-05/3.309, allocations: 0 / 1.118 GB, free: 145.2 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.003972/3.313, allocations: 2.614 MB / 1.12 GB, free: 142.9 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005346/3.319, allocations: 0.6641 MB / 1.121 GB, free: 142.4 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03815/3.357, allocations: 13.06 MB / 1.134 GB, free: 131.2 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004643/3.361, allocations: 4.247 MB / 1.138 GB, free: 127.9 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.006232/3.368, allocations: 2.767 MB / 1.141 GB, free: 126.2 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003049/3.371, allocations: 2.312 MB / 1.143 GB, free: 124.1 MB / 0.6828 GB Notification: Performance of SimCode: time 2.325e-06/3.371, allocations: 0 / 1.143 GB, free: 124.1 MB / 0.6828 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2074/3.578, allocations: 110.4 MB / 1.251 GB, free: 17.08 MB / 0.6828 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/3.578, allocations: 211.7 kB / 1.251 GB, free: 16.84 MB / 0.6828 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.64/10.22, allocations: 4 kB / 1.251 GB, free: 16.84 MB / 0.6828 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