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.0009315/0.0009316, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.0009119/0.000912, allocations: 180.9 kB / 17.2 MB, free: 5.914 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.318/1.318, allocations: 223.2 MB / 241.1 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8263/0.8263, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003258, allocations: 8 kB / 0.4942 GB, free: 11.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1647, allocations: 82.85 MB / 0.5752 GB, free: 8.035 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_2): time 0.4954/0.6601, allocations: 22.79 MB / 0.5974 GB, free: 4.52 MB / 446.3 MB Notification: Performance of NFInst.instExpressions: time 0.01398/0.6741, allocations: 6.385 MB / 0.6036 GB, free: 224 kB / 446.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00493/0.6791, allocations: 112.7 kB / 0.6038 GB, free: 204 kB / 446.3 MB Notification: Performance of NFTyping.typeComponents: time 0.003832/0.683, allocations: 1.076 MB / 0.6048 GB, free: 15.84 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.01196/0.695, allocations: 3.413 MB / 0.6081 GB, free: 14.25 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.002406/0.6974, allocations: 0.5034 MB / 0.6086 GB, free: 14.05 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.09961/0.797, allocations: 71.67 MB / 0.6786 GB, free: 14.63 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00724/0.8044, allocations: 4.776 MB / 0.6833 GB, free: 9.797 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002973/0.8074, allocations: 1.413 MB / 0.6847 GB, free: 8.379 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003006/0.8104, allocations: 1.908 MB / 0.6865 GB, free: 6.465 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0007111/0.8111, allocations: 172 kB / 0.6867 GB, free: 6.297 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002322/0.8135, allocations: 0.952 MB / 0.6876 GB, free: 5.344 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.001815/0.8153, allocations: 2.018 MB / 0.6896 GB, free: 3.32 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.8164, allocations: 1.006 MB / 0.6906 GB, free: 2.305 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.007377/0.8238, allocations: 7.639 MB / 0.698 GB, free: 10.65 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.8239, allocations: 0 / 0.698 GB, free: 10.65 MB / 0.5295 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8239, allocations: 0 / 0.698 GB, free: 10.65 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 0.0002197/0.8241, allocations: 0 / 0.698 GB, free: 10.65 MB / 0.5295 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.01736/0.8415, allocations: 7.083 MB / 0.705 GB, free: 3.48 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.8415, allocations: 8.031 kB / 0.705 GB, free: 3.473 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002301/0.8438, allocations: 0.796 MB / 0.7057 GB, free: 2.664 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2663/1.11, allocations: 54.25 MB / 0.7587 GB, free: 12.3 MB / 0.592 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01556/1.126, allocations: 5.835 MB / 0.7644 GB, free: 6.391 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003673/1.126, allocations: 258.8 kB / 0.7647 GB, free: 6.137 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002009/1.128, allocations: 383.5 kB / 0.765 GB, free: 5.762 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02426/1.152, allocations: 12.11 MB / 0.7769 GB, free: 8.891 MB / 0.6077 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002297/1.153, allocations: 63.5 kB / 0.7769 GB, free: 8.828 MB / 0.6077 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004537/1.153, allocations: 171.8 kB / 0.7771 GB, free: 8.66 MB / 0.6077 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003476/1.157, allocations: 2.135 MB / 0.7792 GB, free: 6.523 MB / 0.6077 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02005/1.177, allocations: 10.56 MB / 0.7895 GB, free: 11.94 MB / 0.6233 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5704/1.747, allocations: 45.59 MB / 0.834 GB, free: 209.6 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/1.759, allocations: 4.852 MB / 0.8387 GB, free: 208.9 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000477/1.76, allocations: 364.6 kB / 0.8391 GB, free: 208.6 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009484/1.77, allocations: 3.272 MB / 0.8423 GB, free: 208.5 MB / 0.6548 GB Notification: Performance of pre-optimization done (n=209): time 5.059e-06/1.77, allocations: 1.375 kB / 0.8423 GB, free: 208.5 MB / 0.6548 GB Notification: Performance of matching and sorting (n=254): time 0.07046/1.84, allocations: 29.64 MB / 0.8712 GB, free: 198.9 MB / 0.6548 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.933e-05/1.84, allocations: 315.7 kB / 0.8715 GB, free: 198.5 MB / 0.6548 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006733/1.847, allocations: 5.693 MB / 0.8771 GB, free: 195.8 MB / 0.6548 GB Notification: Performance of collectPreVariables (initialization): time 0.0004608/1.847, allocations: 63.42 kB / 0.8771 GB, free: 195.7 MB / 0.6548 GB Notification: Performance of collectInitialEqns (initialization): time 0.002132/1.85, allocations: 3.519 MB / 0.8806 GB, free: 192.7 MB / 0.6548 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008967/1.85, allocations: 0.9638 MB / 0.8815 GB, free: 191.9 MB / 0.6548 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003145/1.851, allocations: 120 kB / 0.8816 GB, free: 191.8 MB / 0.6548 GB Notification: Performance of setup shared object (initialization): time 0.0002303/1.851, allocations: 0.5784 MB / 0.8822 GB, free: 191.2 MB / 0.6548 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003244/1.854, allocations: 2.979 MB / 0.8851 GB, free: 188.2 MB / 0.6548 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004502/1.859, allocations: 6.517 MB / 0.8915 GB, free: 180.1 MB / 0.6548 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004664/1.863, allocations: 4.458 MB / 0.8958 GB, free: 175.8 MB / 0.6548 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.901e-05/1.863, allocations: 32 kB / 0.8959 GB, free: 175.8 MB / 0.6548 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.01615/1.88, allocations: 11.24 MB / 0.9068 GB, free: 164.5 MB / 0.6548 GB Notification: Performance of prepare postOptimizeDAE: time 9.721e-05/1.88, allocations: 93.69 kB / 0.9069 GB, free: 164.4 MB / 0.6548 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.53e-05/1.88, allocations: 124 kB / 0.907 GB, free: 164.3 MB / 0.6548 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004115/1.884, allocations: 2.104 MB / 0.9091 GB, free: 162.2 MB / 0.6548 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004575/1.889, allocations: 1.575 MB / 0.9106 GB, free: 160.6 MB / 0.6548 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01281/1.901, allocations: 12.63 MB / 0.923 GB, free: 147.8 MB / 0.6548 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005155/1.907, allocations: 0.4991 MB / 0.9235 GB, free: 147.3 MB / 0.6548 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007239/1.907, allocations: 364 kB / 0.9238 GB, free: 147 MB / 0.6548 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.003779/1.911, allocations: 2.928 MB / 0.9267 GB, free: 144 MB / 0.6548 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007734/1.912, allocations: 442.3 kB / 0.9271 GB, free: 143.6 MB / 0.6548 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008946/1.921, allocations: 6.369 MB / 0.9333 GB, free: 137.2 MB / 0.6548 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.868e-05/1.921, allocations: 28 kB / 0.9333 GB, free: 137.2 MB / 0.6548 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/1.921, allocations: 12.88 kB / 0.9333 GB, free: 137.2 MB / 0.6548 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.072e-05/1.921, allocations: 11.95 kB / 0.9334 GB, free: 137.1 MB / 0.6548 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0221/1.943, allocations: 14.93 MB / 0.9479 GB, free: 122 MB / 0.6548 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/1.943, allocations: 12.03 kB / 0.9479 GB, free: 122 MB / 0.6548 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001803/1.945, allocations: 0.4953 MB / 0.9484 GB, free: 121.5 MB / 0.6548 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003891/1.949, allocations: 1.878 MB / 0.9503 GB, free: 119.6 MB / 0.6548 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001851/1.949, allocations: 57.09 kB / 0.9503 GB, free: 119.6 MB / 0.6548 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01148/1.961, allocations: 11.42 MB / 0.9615 GB, free: 108 MB / 0.6548 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/1.961, allocations: 11.94 kB / 0.9615 GB, free: 108 MB / 0.6548 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/1.973, allocations: 11.16 MB / 0.9724 GB, free: 96.37 MB / 0.6548 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002709/1.976, allocations: 0.9834 MB / 0.9733 GB, free: 95.36 MB / 0.6548 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006673/1.977, allocations: 52 kB / 0.9734 GB, free: 95.31 MB / 0.6548 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/1.979, allocations: 292.6 kB / 0.9737 GB, free: 95.02 MB / 0.6548 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003946/1.979, allocations: 184.7 kB / 0.9738 GB, free: 94.84 MB / 0.6548 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002111/1.979, allocations: 80.67 kB / 0.9739 GB, free: 94.77 MB / 0.6548 GB Notification: Performance of sorting global known variables: time 0.004633/1.984, allocations: 3.761 MB / 0.9776 GB, free: 91.01 MB / 0.6548 GB Notification: Performance of sort global known variables: time 1.1e-07/1.984, allocations: 0 / 0.9776 GB, free: 91.01 MB / 0.6548 GB Notification: Performance of remove unused functions: time 0.005777/1.99, allocations: 1.328 MB / 0.9789 GB, free: 89.69 MB / 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.0127/2.002, allocations: 13.77 MB / 0.9923 GB, free: 75.6 MB / 0.6548 GB Notification: Performance of simCode: created initialization part: time 0.009312/2.012, allocations: 7.135 MB / 0.9993 GB, free: 68.46 MB / 0.6548 GB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/2.012, allocations: 4 kB / 0.9993 GB, free: 68.45 MB / 0.6548 GB Notification: Performance of simCode: created simulation system equations: time 0.003453/2.015, allocations: 2.81 MB / 1.002 GB, free: 65.63 MB / 0.6548 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/2.018, allocations: 0.6624 MB / 1.003 GB, free: 64.98 MB / 0.6548 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4122/2.431, allocations: 134.7 MB / 1.134 GB, free: 181.2 MB / 0.6704 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004375/2.435, allocations: 4.248 MB / 1.138 GB, free: 179.8 MB / 0.6704 GB Notification: Performance of simCode: alias equations: time 0.009994/2.445, allocations: 2.771 MB / 1.141 GB, free: 179.7 MB / 0.6704 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006622/2.452, allocations: 2.318 MB / 1.143 GB, free: 177.9 MB / 0.6704 GB Notification: Performance of SimCode: time 4.97e-06/2.452, allocations: 0 / 1.143 GB, free: 177.9 MB / 0.6704 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1376/2.589, allocations: 112.6 MB / 1.253 GB, free: 71.42 MB / 0.6704 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/2.59, allocations: 243.8 kB / 1.254 GB, free: 71.18 MB / 0.6704 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.25/6.84, allocations: 0 / 1.254 GB, free: 71.18 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