Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.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_8,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_8",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.00174/0.00174, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.658/1.658, allocations: 221.5 MB / 230.3 MB, free: 7.57 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.0009912/0.000991, allocations: 91.48 kB / 281.2 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.314/1.314, allocations: 120.5 MB / 452.4 MB, free: 10.48 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.318e-05/1.321e-05, allocations: 0 / 0.5289 GB, free: 1.199 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8/0.8001, allocations: 82.83 MB / 0.6098 GB, free: 12.96 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.229/2.029, allocations: 146.6 MB / 0.7529 GB, free: 135.4 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003749/2.029, allocations: 71.89 kB / 0.753 GB, free: 135.4 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.5626/2.592, allocations: 225.2 MB / 0.9729 GB, free: 9.879 MB / 0.6359 GB Notification: Performance of FrontEnd: time 2.594e-06/2.592, allocations: 0 / 0.9729 GB, free: 9.879 MB / 0.6359 GB Notification: Performance of Transformations before backend: time 0.001112/2.593, allocations: 232 kB / 0.9731 GB, free: 9.652 MB / 0.6359 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3442 * Number of variables: 3442 Notification: Performance of Generate backend data structure: time 0.05053/2.644, allocations: 14.68 MB / 0.9875 GB, free: 10.86 MB / 0.6515 GB Notification: Performance of prepare preOptimizeDAE: time 6.877e-05/2.644, allocations: 12.02 kB / 0.9875 GB, free: 10.85 MB / 0.6515 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7066/3.35, allocations: 26.03 MB / 1.013 GB, free: 109.8 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05692/3.407, allocations: 20.74 MB / 1.033 GB, free: 109 MB / 0.6515 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007627/3.408, allocations: 330.4 kB / 1.033 GB, free: 109 MB / 0.6515 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005945/3.414, allocations: 0.6465 MB / 1.034 GB, free: 109 MB / 0.6515 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0349/3.449, allocations: 16.68 MB / 1.05 GB, free: 108.9 MB / 0.6515 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06198/3.511, allocations: 23.4 MB / 1.073 GB, free: 104.4 MB / 0.6515 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009453/3.512, allocations: 168.9 kB / 1.073 GB, free: 104.3 MB / 0.6515 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003915/3.516, allocations: 55.66 kB / 1.073 GB, free: 104.3 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003556/3.52, allocations: 2.278 MB / 1.076 GB, free: 104.3 MB / 0.6515 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1547/3.674, allocations: 106.7 MB / 1.18 GB, free: 25.87 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01638/3.691, allocations: 12.42 MB / 1.192 GB, free: 14.99 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01187/3.703, allocations: 9.635 MB / 1.201 GB, free: 6.598 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008226/3.704, allocations: 429.4 kB / 1.202 GB, free: 6.176 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02117/3.725, allocations: 10.19 MB / 1.212 GB, free: 15.48 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=593): time 2.008e-05/3.725, allocations: 2.625 kB / 1.212 GB, free: 15.48 MB / 0.6671 GB Notification: Performance of matching and sorting (n=777): time 0.9269/4.652, allocations: 99.46 MB / 1.309 GB, free: 135.1 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004225/4.652, allocations: 0.6634 MB / 1.31 GB, free: 134.4 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02502/4.677, allocations: 8.545 MB / 1.318 GB, free: 133.8 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 0.003306/4.681, allocations: 29.67 kB / 1.318 GB, free: 133.8 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 0.01421/4.695, allocations: 7.198 MB / 1.325 GB, free: 131 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 0.007418/4.702, allocations: 2.717 MB / 1.328 GB, free: 129.3 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00382/4.706, allocations: 0 / 1.328 GB, free: 129.3 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 0.002035/4.708, allocations: 0.8839 MB / 1.329 GB, free: 129 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01618/4.725, allocations: 9.266 MB / 1.338 GB, free: 128.9 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02502/4.75, allocations: 15.01 MB / 1.352 GB, free: 121.8 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02233/4.772, allocations: 12.17 MB / 1.364 GB, free: 119.4 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000501/4.773, allocations: 54.62 kB / 1.364 GB, free: 119.4 MB / 0.6984 GB Notification: Performance of matching and sorting (n=1672) (initialization): time 0.09314/4.866, allocations: 34.17 MB / 1.398 GB, free: 111.3 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006718/4.867, allocations: 118.6 kB / 1.398 GB, free: 111.2 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000692/4.867, allocations: 195.3 kB / 1.398 GB, free: 111.2 MB / 0.6984 GB Notification: Tearing is skipped for strong component 1 because system size of 218 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.0006206/4.868, allocations: 291.6 kB / 1.398 GB, free: 111.2 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01359/4.882, allocations: 2.99 MB / 1.401 GB, free: 110.9 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007904/4.882, allocations: 381.3 kB / 1.401 GB, free: 110.8 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01791/4.9, allocations: 1.167 MB / 1.403 GB, free: 110.8 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005367/4.906, allocations: 0.6659 MB / 1.403 GB, free: 110.7 MB / 0.6984 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 872 * Number of states: 0 () * Number of discrete variables: 98 ($whenCondition1,$PRE.pulse1.T_start,pulse1.T_start,$PRE.pulse1.count,pulse1.count,bodybox[9].color[3],bodybox[9].color[2],bodybox[9].color[1],bodybox[9].body.sphereColor[3],bodybox[9].body.sphereColor[2],bodybox[9].body.sphereColor[1],bodybox[8].color[3],bodybox[8].color[2],bodybox[8].color[1],bodybox[8].body.sphereColor[3],bodybox[8].body.sphereColor[2],bodybox[8].body.sphereColor[1],bodybox[7].color[3],bodybox[7].color[2],bodybox[7].color[1],bodybox[7].body.sphereColor[3],bodybox[7].body.sphereColor[2],bodybox[7].body.sphereColor[1],bodybox[6].color[3],bodybox[6].color[2],bodybox[6].color[1],bodybox[6].body.sphereColor[3],bodybox[6].body.sphereColor[2],bodybox[6].body.sphereColor[1],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[8].cylinderColor[3],revolute[8].cylinderColor[2],revolute[8].cylinderColor[1],revolute[7].cylinderColor[3],revolute[7].cylinderColor[2],revolute[7].cylinderColor[1],revolute[6].cylinderColor[3],revolute[6].cylinderColor[2],revolute[6].cylinderColor[1],revolute[5].cylinderColor[3],revolute[5].cylinderColor[2],revolute[5].cylinderColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1430): * Single equations (assignments): 1425 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(218,1.6%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008366/4.914, allocations: 0.6833 MB / 1.404 GB, free: 110.2 MB / 0.6984 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05901/4.973, allocations: 27.72 MB / 1.431 GB, free: 89.93 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00576/4.979, allocations: 0.9258 MB / 1.432 GB, free: 88.99 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05762/5.037, allocations: 28.79 MB / 1.46 GB, free: 64.93 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001211/5.037, allocations: 80.06 kB / 1.46 GB, free: 64.86 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.109e-05/5.037, allocations: 39.98 kB / 1.46 GB, free: 64.82 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001827/5.037, allocations: 39.86 kB / 1.46 GB, free: 64.78 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1201/5.157, allocations: 54.39 MB / 1.513 GB, free: 10.04 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.165e-05/5.157, allocations: 12 kB / 1.513 GB, free: 10.02 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00626/5.164, allocations: 1.306 MB / 1.515 GB, free: 8.719 MB / 0.6984 GB Notification: Tearing is skipped for strong component 2 because system size of 215 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 8.174e-05/5.164, allocations: 32 kB / 1.515 GB, free: 8.688 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001832/5.166, allocations: 35.97 kB / 1.515 GB, free: 8.652 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.139e-05/5.166, allocations: 43.86 kB / 1.515 GB, free: 8.609 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.772e-05/5.166, allocations: 15.94 kB / 1.515 GB, free: 8.594 MB / 0.6984 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6548/5.82, allocations: 44 MB / 1.558 GB, free: 127.5 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009609/5.83, allocations: 2.815 MB / 1.56 GB, free: 127.4 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004839/5.835, allocations: 28.56 kB / 1.56 GB, free: 127.4 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009905/5.845, allocations: 0.9703 MB / 1.561 GB, free: 127.4 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002895/5.848, allocations: 0.68 MB / 1.562 GB, free: 127.3 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008665/5.849, allocations: 199.9 kB / 1.562 GB, free: 127.3 MB / 0.6984 GB Notification: Performance of sorting global known variables: time 0.01575/5.865, allocations: 6.198 MB / 1.568 GB, free: 127.1 MB / 0.6984 GB Notification: Performance of sort global known variables: time 2.81e-07/5.865, allocations: 0 / 1.568 GB, free: 127.1 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.02022/5.885, allocations: 2.801 MB / 1.571 GB, free: 127.1 MB / 0.6984 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 18 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w,revolute[3].phi,revolute[3].w,revolute[4].phi,revolute[4].w,revolute[5].phi,revolute[5].w,revolute[6].phi,revolute[6].w,revolute[7].phi,revolute[7].w,revolute[8].phi,revolute[8].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 (555): * Single equations (assignments): 549 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(215,1.6%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.08403/5.969, allocations: 46.18 MB / 1.616 GB, free: 118.8 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.04812/6.017, allocations: 26.32 MB / 1.642 GB, free: 112.5 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 1.931e-05/6.017, allocations: 3.719 kB / 1.642 GB, free: 112.5 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.0323/6.05, allocations: 14.91 MB / 1.656 GB, free: 104.1 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01197/6.062, allocations: 1.455 MB / 1.658 GB, free: 102.9 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1046/6.166, allocations: 36.18 MB / 1.693 GB, free: 72.79 MB / 0.6984 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02099/6.187, allocations: 9.166 MB / 1.702 GB, free: 65.94 MB / 0.6984 GB Notification: Performance of simCode: alias equations: time 0.01874/6.206, allocations: 6.835 MB / 1.709 GB, free: 61.65 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01179/6.218, allocations: 5.767 MB / 1.714 GB, free: 56.31 MB / 0.6984 GB Notification: Performance of SimCode: time 9.21e-07/6.218, allocations: 0 / 1.714 GB, free: 56.31 MB / 0.6984 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9124/7.13, allocations: 267.1 MB / 1.975 GB, free: 46.47 MB / 0.714 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/7.131, allocations: 169.7 kB / 1.975 GB, free: 46.28 MB / 0.714 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/21.54, allocations: 4 kB / 1.975 GB, free: 46.27 MB / 0.714 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_8_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=3e-08 ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_8.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8_res.mat does not exist to compare? outputFormat=mat