Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.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: translateModel(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4,tolerance=3e-08,outputFormat="mat",numberOfIntervals=4000,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|revolute.3..angle|revolute.3..phi|revolute.4..angle|revolute.4..phi|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4") translateModel(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4,tolerance=3e-08,outputFormat="mat",numberOfIntervals=4000,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|revolute.3..angle|revolute.3..phi|revolute.4..angle|revolute.4..phi|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 93.06 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.001627/0.001627, allocations: 184.3 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.425/1.425, allocations: 223.2 MB / 241.1 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9288/0.9288, allocations: 120.5 MB / 412.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004476, allocations: 8 kB / 0.4942 GB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2129, allocations: 82.85 MB / 0.5751 GB, free: 8.129 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4): time 0.5911/0.8041, allocations: 22.8 MB / 0.5973 GB, free: 4.559 MB / 446.3 MB Notification: Performance of NFInst.instExpressions: time 0.01919/0.8233, allocations: 6.376 MB / 0.6036 GB, free: 268 kB / 446.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007894/0.8313, allocations: 112.4 kB / 0.6037 GB, free: 248 kB / 446.3 MB Notification: Performance of NFTyping.typeComponents: time 0.005105/0.8364, allocations: 1.085 MB / 0.6047 GB, free: 15.88 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.01463/0.8511, allocations: 3.414 MB / 0.6081 GB, free: 14.28 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.002851/0.854, allocations: 0.5059 MB / 0.6086 GB, free: 14.09 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.1625/1.016, allocations: 116.8 MB / 0.7226 GB, free: 1.527 MB / 0.5452 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01113/1.028, allocations: 7.058 MB / 0.7295 GB, free: 10.38 MB / 0.5608 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004989/1.033, allocations: 2.068 MB / 0.7315 GB, free: 8.309 MB / 0.5608 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005392/1.038, allocations: 2.812 MB / 0.7343 GB, free: 5.488 MB / 0.5608 GB Notification: Performance of NFPackage.collectConstants: time 0.001955/1.04, allocations: 259.9 kB / 0.7345 GB, free: 5.234 MB / 0.5608 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003908/1.044, allocations: 1.026 MB / 0.7355 GB, free: 4.207 MB / 0.5608 GB Notification: Performance of NFScalarize.scalarize: time 0.00511/1.049, allocations: 2.989 MB / 0.7384 GB, free: 1.211 MB / 0.5608 GB Notification: Performance of NFVerifyModel.verify: time 0.003254/1.052, allocations: 1.443 MB / 0.7398 GB, free: 15.75 MB / 0.5764 GB Notification: Performance of NFConvertDAE.convert: time 0.01601/1.069, allocations: 11.25 MB / 0.7508 GB, free: 4.48 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/1.069, allocations: 4 kB / 0.7508 GB, free: 4.477 MB / 0.5764 GB Notification: Performance of FrontEnd: time 2.765e-06/1.069, allocations: 0 / 0.7508 GB, free: 4.477 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.0005635/1.069, allocations: 4 kB / 0.7508 GB, free: 4.473 MB / 0.5764 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2218 * Number of variables: 2218 Notification: Performance of Generate backend data structure: time 0.03222/1.101, allocations: 10.79 MB / 0.7614 GB, free: 9.582 MB / 0.592 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/1.101, allocations: 8.031 kB / 0.7614 GB, free: 9.574 MB / 0.592 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.064/2.165, allocations: 89.23 MB / 0.8485 GB, free: 212 MB / 0.6548 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02428/2.19, allocations: 9.224 MB / 0.8575 GB, free: 209.7 MB / 0.6548 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004539/2.19, allocations: 386.5 kB / 0.8579 GB, free: 209.7 MB / 0.6548 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002999/2.193, allocations: 0.5403 MB / 0.8584 GB, free: 209.7 MB / 0.6548 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03036/2.224, allocations: 17.6 MB / 0.8756 GB, free: 197 MB / 0.6548 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003172/2.224, allocations: 98.66 kB / 0.8757 GB, free: 197 MB / 0.6548 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008105/2.225, allocations: 249.6 kB / 0.8759 GB, free: 196.8 MB / 0.6548 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004003/2.229, allocations: 2.908 MB / 0.8788 GB, free: 193.9 MB / 0.6548 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02712/2.256, allocations: 15.64 MB / 0.8941 GB, free: 178.2 MB / 0.6548 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08547/2.341, allocations: 65.28 MB / 0.9578 GB, free: 111.6 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0165/2.358, allocations: 8.252 MB / 0.9659 GB, free: 103.2 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005286/2.359, allocations: 389.7 kB / 0.9662 GB, free: 102.8 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01424/2.373, allocations: 6.027 MB / 0.9721 GB, free: 96.74 MB / 0.6548 GB Notification: Performance of pre-optimization done (n=337): time 6.182e-06/2.373, allocations: 0 / 0.9721 GB, free: 96.74 MB / 0.6548 GB Notification: Performance of matching and sorting (n=428): time 0.1429/2.516, allocations: 63.57 MB / 1.034 GB, free: 33.14 MB / 0.6548 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/2.516, allocations: 428.4 kB / 1.035 GB, free: 32.63 MB / 0.6548 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008985/2.525, allocations: 7.945 MB / 1.042 GB, free: 24.69 MB / 0.6548 GB Notification: Performance of collectPreVariables (initialization): time 0.001033/2.526, allocations: 97.38 kB / 1.042 GB, free: 24.59 MB / 0.6548 GB Notification: Performance of collectInitialEqns (initialization): time 0.003477/2.529, allocations: 4.719 MB / 1.047 GB, free: 19.86 MB / 0.6548 GB Notification: Performance of collectInitialBindings (initialization): time 0.001693/2.531, allocations: 1.574 MB / 1.049 GB, free: 18.3 MB / 0.6548 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004464/2.532, allocations: 169.9 kB / 1.049 GB, free: 18.14 MB / 0.6548 GB Notification: Performance of setup shared object (initialization): time 0.0003195/2.532, allocations: 0.677 MB / 1.049 GB, free: 17.45 MB / 0.6548 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005803/2.538, allocations: 5.278 MB / 1.055 GB, free: 12.16 MB / 0.6548 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007544/2.545, allocations: 9.514 MB / 1.064 GB, free: 0.6016 MB / 0.6548 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01071/2.556, allocations: 7.219 MB / 1.071 GB, free: 9.379 MB / 0.6704 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/2.556, allocations: 44 kB / 1.071 GB, free: 9.336 MB / 0.6704 GB Notification: Performance of matching and sorting (n=1094) (initialization): time 0.03667/2.593, allocations: 19.76 MB / 1.09 GB, free: 5.523 MB / 0.686 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002008/2.593, allocations: 93.7 kB / 1.09 GB, free: 5.426 MB / 0.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002443/2.593, allocations: 144 kB / 1.091 GB, free: 5.285 MB / 0.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3251/2.918, allocations: 5.589 MB / 1.096 GB, free: 223.6 MB / 0.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00864/2.927, allocations: 2.053 MB / 1.098 GB, free: 223.6 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04533/2.972, allocations: 31.53 MB / 1.129 GB, free: 215.9 MB / 0.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008725/2.981, allocations: 0.8308 MB / 1.13 GB, free: 215.7 MB / 0.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00156/2.983, allocations: 472.3 kB / 1.13 GB, free: 215.7 MB / 0.686 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 651 * Number of states: 0 () * Number of discrete variables: 62 ($whenCondition1,$PRE.pulse1.T_start,pulse1.T_start,$PRE.pulse1.count,pulse1.count,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[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (972): * Single equations (assignments): 967 * 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 {(7,81.6%) 91} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007263/2.99, allocations: 4.216 MB / 1.134 GB, free: 214.3 MB / 0.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001606/2.992, allocations: 0.6133 MB / 1.135 GB, free: 214.3 MB / 0.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02144/3.013, allocations: 14.46 MB / 1.149 GB, free: 209 MB / 0.686 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.679e-05/3.013, allocations: 50.27 kB / 1.149 GB, free: 209 MB / 0.686 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.309e-05/3.013, allocations: 19.25 kB / 1.149 GB, free: 209 MB / 0.686 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-05/3.013, allocations: 23.8 kB / 1.149 GB, free: 209 MB / 0.686 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04707/3.06, allocations: 29.36 MB / 1.178 GB, free: 181.3 MB / 0.686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-05/3.061, allocations: 8 kB / 1.178 GB, free: 181.2 MB / 0.686 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003599/3.064, allocations: 0.7878 MB / 1.178 GB, free: 180.5 MB / 0.686 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01178/3.076, allocations: 5.347 MB / 1.184 GB, free: 175.1 MB / 0.686 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001085/3.077, allocations: 94.83 kB / 1.184 GB, free: 175 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03077/3.108, allocations: 29.36 MB / 1.212 GB, free: 145.7 MB / 0.686 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/3.108, allocations: 19.22 kB / 1.212 GB, free: 145.7 MB / 0.686 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03023/3.138, allocations: 22.87 MB / 1.235 GB, free: 122.7 MB / 0.686 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006038/3.144, allocations: 1.676 MB / 1.236 GB, free: 121 MB / 0.686 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002092/3.146, allocations: 95.73 kB / 1.236 GB, free: 120.9 MB / 0.686 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004762/3.151, allocations: 0.5861 MB / 1.237 GB, free: 120.3 MB / 0.686 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001086/3.152, allocations: 299 kB / 1.237 GB, free: 120 MB / 0.686 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003363/3.153, allocations: 116 kB / 1.237 GB, free: 119.9 MB / 0.686 GB Notification: Performance of sorting global known variables: time 0.008269/3.161, allocations: 5.344 MB / 1.243 GB, free: 114.6 MB / 0.686 GB Notification: Performance of sort global known variables: time 1.413e-06/3.161, allocations: 0 / 1.243 GB, free: 114.6 MB / 0.686 GB Notification: Performance of remove unused functions: time 0.01304/3.174, allocations: 2.142 MB / 1.245 GB, free: 112.4 MB / 0.686 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 10 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w,revolute[3].phi,revolute[3].w,revolute[4].phi,revolute[4].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 (318): * Single equations (assignments): 312 * 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 {(9,77.8%) 86} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001311/3.175, allocations: 266.2 kB / 1.245 GB, free: 112.2 MB / 0.686 GB Notification: Performance of simCode: created initialization part: time 0.0189/3.194, allocations: 12.84 MB / 1.258 GB, free: 99.39 MB / 0.686 GB Notification: Performance of simCode: created event and clocks part: time 1.578e-05/3.194, allocations: 0 / 1.258 GB, free: 99.39 MB / 0.686 GB Notification: Performance of simCode: created simulation system equations: time 0.008923/3.203, allocations: 5.928 MB / 1.263 GB, free: 93.44 MB / 0.686 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006522/3.21, allocations: 1.021 MB / 1.264 GB, free: 92.45 MB / 0.686 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03867/3.249, allocations: 24.23 MB / 1.288 GB, free: 68.17 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007478/3.256, allocations: 5.952 MB / 1.294 GB, free: 62.18 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.008942/3.265, allocations: 4.18 MB / 1.298 GB, free: 57.99 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/3.267, allocations: 431.3 kB / 1.298 GB, free: 57.57 MB / 0.686 GB Notification: Performance of SimCode: time 1.072e-06/3.267, allocations: 0 / 1.298 GB, free: 57.57 MB / 0.686 GB Notification: Performance of Templates: time 0.4836/3.75, allocations: 104.7 MB / 1.401 GB, free: 198.9 MB / 0.686 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches