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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009845/0.0009846, allocations: 88.72 kB / 16.31 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009651/0.0009653, allocations: 181.5 kB / 17.21 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 223.2 MB / 241.2 MB, free: 368 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9742/0.9742, allocations: 120.5 MB / 412.8 MB, free: 9.23 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003157, allocations: 8 kB / 0.4944 GB, free: 11.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5055/0.5058, allocations: 82.84 MB / 0.5753 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2): time 0.01689/0.5228, allocations: 24.1 MB / 0.5988 GB, free: 22.23 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.5344, allocations: 6.185 MB / 0.6048 GB, free: 16.03 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004506/0.539, allocations: 111.7 kB / 0.6049 GB, free: 15.92 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.003058/0.542, allocations: 1.19 MB / 0.6061 GB, free: 14.72 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.008888/0.551, allocations: 3.798 MB / 0.6098 GB, free: 10.91 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.5531, allocations: 0.5109 MB / 0.6103 GB, free: 10.4 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.1094/0.6626, allocations: 90.47 MB / 0.6987 GB, free: 15.81 MB / 0.5452 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006571/0.6692, allocations: 4.781 MB / 0.7033 GB, free: 10.95 MB / 0.5452 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003177/0.6724, allocations: 1.67 MB / 0.705 GB, free: 9.273 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003977/0.6764, allocations: 2.664 MB / 0.7076 GB, free: 6.602 MB / 0.5452 GB Notification: Performance of NFPackage.collectConstants: time 0.0007372/0.6772, allocations: 176 kB / 0.7077 GB, free: 6.43 MB / 0.5452 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002053/0.6793, allocations: 0.9753 MB / 0.7087 GB, free: 5.453 MB / 0.5452 GB Notification: Performance of NFScalarize.scalarize: time 0.002303/0.6816, allocations: 2.174 MB / 0.7108 GB, free: 3.273 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.683, allocations: 1.006 MB / 0.7118 GB, free: 2.258 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.007827/0.6908, allocations: 7.65 MB / 0.7193 GB, free: 10.59 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/0.6909, allocations: 4 kB / 0.7193 GB, free: 10.59 MB / 0.5608 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6909, allocations: 0 / 0.7193 GB, free: 10.59 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.0002923/0.6912, allocations: 0 / 0.7193 GB, free: 10.59 MB / 0.5608 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.01691/0.7081, allocations: 6.979 MB / 0.7261 GB, free: 3.52 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.7082, allocations: 12.03 kB / 0.7261 GB, free: 3.508 MB / 0.5608 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002516/0.7107, allocations: 0.7882 MB / 0.7269 GB, free: 2.707 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7192/1.43, allocations: 51.62 MB / 0.7773 GB, free: 164.1 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/1.441, allocations: 6.437 MB / 0.7836 GB, free: 159.3 MB / 0.5923 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/1.441, allocations: 263.8 kB / 0.7838 GB, free: 159.1 MB / 0.5923 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00103/1.442, allocations: 373.8 kB / 0.7842 GB, free: 158.8 MB / 0.5923 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01541/1.458, allocations: 12.01 MB / 0.7959 GB, free: 146.2 MB / 0.5923 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001461/1.458, allocations: 71.44 kB / 0.796 GB, free: 146.1 MB / 0.5923 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003988/1.458, allocations: 164.8 kB / 0.7961 GB, free: 146 MB / 0.5923 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002572/1.461, allocations: 2.137 MB / 0.7982 GB, free: 143.9 MB / 0.5923 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01578/1.477, allocations: 10.43 MB / 0.8084 GB, free: 133.4 MB / 0.5923 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04269/1.519, allocations: 45.42 MB / 0.8528 GB, free: 86.8 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00853/1.528, allocations: 4.775 MB / 0.8574 GB, free: 81.87 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002786/1.531, allocations: 2.752 MB / 0.8601 GB, free: 79.11 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003333/1.531, allocations: 352.5 kB / 0.8604 GB, free: 78.71 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006865/1.538, allocations: 3.215 MB / 0.8636 GB, free: 75.47 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=209): time 5.049e-06/1.538, allocations: 0 / 0.8636 GB, free: 75.47 MB / 0.5923 GB Notification: Performance of matching and sorting (n=254): time 0.05967/1.598, allocations: 29.17 MB / 0.8921 GB, free: 46.23 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/1.598, allocations: 308.7 kB / 0.8924 GB, free: 45.86 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00585/1.604, allocations: 5.292 MB / 0.8975 GB, free: 40.56 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0005221/1.604, allocations: 61.7 kB / 0.8976 GB, free: 40.5 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.002155/1.607, allocations: 3.523 MB / 0.901 GB, free: 36.93 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009469/1.607, allocations: 0.9602 MB / 0.902 GB, free: 35.96 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/1.608, allocations: 124 kB / 0.9021 GB, free: 35.84 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 0.0002421/1.608, allocations: 0.5784 MB / 0.9026 GB, free: 35.25 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003393/1.611, allocations: 2.979 MB / 0.9056 GB, free: 32.27 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00464/1.616, allocations: 6.546 MB / 0.912 GB, free: 23.98 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004857/1.621, allocations: 4.456 MB / 0.9163 GB, free: 19.51 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.078e-05/1.621, allocations: 36 kB / 0.9163 GB, free: 19.48 MB / 0.5923 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.01618/1.637, allocations: 11.24 MB / 0.9273 GB, free: 8.211 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 9.497e-05/1.637, allocations: 85.66 kB / 0.9274 GB, free: 8.121 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/1.637, allocations: 128 kB / 0.9275 GB, free: 7.996 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003874/1.641, allocations: 2.104 MB / 0.9296 GB, free: 5.887 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004436/1.646, allocations: 1.572 MB / 0.9311 GB, free: 4.312 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01438/1.66, allocations: 12.26 MB / 0.9431 GB, free: 7.91 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005165/1.665, allocations: 499.2 kB / 0.9436 GB, free: 7.422 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001129/1.667, allocations: 375.9 kB / 0.9439 GB, free: 7.055 MB / 0.6079 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * 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 (760): * Single equations (assignments): 755 * 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.00477/1.671, allocations: 2.931 MB / 0.9468 GB, free: 4.109 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009132/1.672, allocations: 438.4 kB / 0.9472 GB, free: 3.676 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/1.683, allocations: 6.369 MB / 0.9534 GB, free: 13.28 MB / 0.6235 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-05/1.683, allocations: 31.98 kB / 0.9534 GB, free: 13.25 MB / 0.6235 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/1.683, allocations: 4 kB / 0.9534 GB, free: 13.25 MB / 0.6235 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-05/1.683, allocations: 19.89 kB / 0.9535 GB, free: 13.23 MB / 0.6235 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03292/1.716, allocations: 14.78 MB / 0.9679 GB, free: 14.2 MB / 0.6392 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.052e-05/1.716, allocations: 8.969 kB / 0.9679 GB, free: 14.19 MB / 0.6392 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001815/1.718, allocations: 0.4992 MB / 0.9684 GB, free: 13.69 MB / 0.6392 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004075/1.722, allocations: 1.881 MB / 0.9702 GB, free: 11.8 MB / 0.6392 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003295/1.722, allocations: 63.97 kB / 0.9703 GB, free: 11.74 MB / 0.6392 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01386/1.736, allocations: 11.04 MB / 0.9811 GB, free: 0.5625 MB / 0.6392 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.908e-06/1.736, allocations: 15.94 kB / 0.9811 GB, free: 0.5469 MB / 0.6392 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/1.751, allocations: 10.01 MB / 0.9909 GB, free: 6.352 MB / 0.6548 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002211/1.753, allocations: 0.9639 MB / 0.9918 GB, free: 5.363 MB / 0.6548 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007089/1.754, allocations: 52 kB / 0.9919 GB, free: 5.312 MB / 0.6548 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001818/1.756, allocations: 291.5 kB / 0.9921 GB, free: 5.027 MB / 0.6548 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003896/1.756, allocations: 176.9 kB / 0.9923 GB, free: 4.855 MB / 0.6548 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001736/1.756, allocations: 75.98 kB / 0.9924 GB, free: 4.781 MB / 0.6548 GB Notification: Performance of sorting global known variables: time 0.005073/1.761, allocations: 3.448 MB / 0.9957 GB, free: 1.34 MB / 0.6548 GB Notification: Performance of sort global known variables: time 3.3e-07/1.761, allocations: 0 / 0.9957 GB, free: 1.34 MB / 0.6548 GB Notification: Performance of remove unused functions: time 0.005307/1.767, allocations: 1.302 MB / 0.997 GB, free: 44 kB / 0.6548 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.01457/1.781, allocations: 10.71 MB / 1.007 GB, free: 5.145 MB / 0.6704 GB Notification: Performance of simCode: created initialization part: time 0.2721/2.053, allocations: 7.131 MB / 1.014 GB, free: 234 MB / 0.6704 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/2.053, allocations: 3.969 kB / 1.014 GB, free: 234 MB / 0.6704 GB Notification: Performance of simCode: created simulation system equations: time 0.004425/2.058, allocations: 2.804 MB / 1.017 GB, free: 233.8 MB / 0.6704 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003473/2.061, allocations: 0.6971 MB / 1.018 GB, free: 233.8 MB / 0.6704 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08312/2.144, allocations: 50.35 MB / 1.067 GB, free: 196 MB / 0.6704 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005373/2.15, allocations: 4.138 MB / 1.071 GB, free: 191.8 MB / 0.6704 GB Notification: Performance of simCode: alias equations: time 0.005644/2.155, allocations: 2.778 MB / 1.074 GB, free: 189 MB / 0.6704 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003138/2.159, allocations: 2.303 MB / 1.076 GB, free: 186.7 MB / 0.6704 GB Notification: Performance of SimCode: time 9.61e-07/2.159, allocations: 0 / 1.076 GB, free: 186.7 MB / 0.6704 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1329/2.292, allocations: 111.5 MB / 1.185 GB, free: 75.83 MB / 0.6704 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/2.292, allocations: 235.5 kB / 1.185 GB, free: 75.59 MB / 0.6704 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.219/6.511, allocations: 0 / 1.185 GB, free: 75.59 MB / 0.6704 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) Environment - environmentSimulation: 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