Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.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: 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_noopt_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_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 188.2 kB / 8.136 MB, free: 2.215 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.232/1.232, allocations: 221.4 MB / 229.9 MB, free: 3.07 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.0009955/0.0009951, allocations: 104.9 kB / 280.8 MB, free: 1.32 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8138/0.8138, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 7.043e-06/7.244e-06, allocations: 0 / 0.5282 GB, free: 52.38 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1668, allocations: 82.85 MB / 0.6091 GB, free: 3.559 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7137/0.8806, allocations: 146.5 MB / 0.7522 GB, free: 15.8 MB / 0.5265 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.8809, allocations: 75.7 kB / 0.7522 GB, free: 15.77 MB / 0.5265 GB Notification: Performance of FrontEnd: time 0.3837/1.265, allocations: 142.3 MB / 0.8912 GB, free: 6.871 MB / 0.6359 GB Notification: Performance of Transformations before backend: time 0.0008296/1.265, allocations: 148 kB / 0.8913 GB, free: 6.727 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: 2218 * Number of variables: 2218 Notification: Performance of Generate backend data structure: time 0.03106/1.297, allocations: 8.159 MB / 0.8993 GB, free: 15.06 MB / 0.6515 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/1.297, allocations: 8.031 kB / 0.8993 GB, free: 15.05 MB / 0.6515 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05624/1.353, allocations: 14.28 MB / 0.9132 GB, free: 2.332 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0365/1.389, allocations: 12.56 MB / 0.9255 GB, free: 8.219 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006302/1.39, allocations: 211.8 kB / 0.9257 GB, free: 8.016 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004354/1.395, allocations: 411.2 kB / 0.9261 GB, free: 7.621 MB / 0.6671 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0232/1.418, allocations: 10.86 MB / 0.9367 GB, free: 15.95 MB / 0.6828 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03483/1.453, allocations: 15.43 MB / 0.9518 GB, free: 2.836 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005922/1.453, allocations: 111 kB / 0.9519 GB, free: 2.73 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003018/1.456, allocations: 36 kB / 0.9519 GB, free: 2.695 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002634/1.459, allocations: 1.641 MB / 0.9535 GB, free: 1.289 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3378/1.797, allocations: 72.1 MB / 1.024 GB, free: 216.2 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008635/1.805, allocations: 7.344 MB / 1.031 GB, free: 215.6 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006419/1.812, allocations: 5.809 MB / 1.037 GB, free: 214.8 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02522/1.837, allocations: 14.54 MB / 1.051 GB, free: 208.8 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005413/1.843, allocations: 5.171 MB / 1.056 GB, free: 207.3 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=330): time 1.039e-05/1.843, allocations: 0 / 1.056 GB, free: 207.3 MB / 0.6828 GB Notification: Performance of matching and sorting (n=422): time 0.1081/1.951, allocations: 48.45 MB / 1.103 GB, free: 177.3 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/1.951, allocations: 438.8 kB / 1.104 GB, free: 176.8 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01295/1.964, allocations: 5.713 MB / 1.109 GB, free: 172 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.001361/1.965, allocations: 29.17 kB / 1.109 GB, free: 171.9 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.0044/1.97, allocations: 4.062 MB / 1.113 GB, free: 168.6 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.002446/1.972, allocations: 1.502 MB / 1.115 GB, free: 167.3 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007588/1.973, allocations: 0 / 1.115 GB, free: 167.3 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0004059/1.973, allocations: 0.6834 MB / 1.115 GB, free: 166.7 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006148/1.98, allocations: 5.171 MB / 1.121 GB, free: 162.3 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009046/1.989, allocations: 9.514 MB / 1.13 GB, free: 151.8 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009349/1.998, allocations: 7.223 MB / 1.137 GB, free: 146.1 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001408/1.998, allocations: 44 kB / 1.137 GB, free: 146 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1117) (initialization): time 0.03518/2.033, allocations: 18.13 MB / 1.155 GB, free: 131.5 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/2.033, allocations: 6.969 kB / 1.155 GB, free: 131.5 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003256/2.034, allocations: 148 kB / 1.155 GB, free: 131.3 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01256/2.046, allocations: 5.011 MB / 1.16 GB, free: 126.3 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007672/2.054, allocations: 1.926 MB / 1.162 GB, free: 124.4 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03385/2.088, allocations: 25.59 MB / 1.187 GB, free: 98.76 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00834/2.096, allocations: 439.2 kB / 1.187 GB, free: 98.33 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002244/2.099, allocations: 487.9 kB / 1.187 GB, free: 97.86 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (995): * Single equations (assignments): 990 * 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 {(10,70.0%) 88} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003323/2.102, allocations: 0.5163 MB / 1.188 GB, free: 97.34 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00196/2.104, allocations: 0.5785 MB / 1.188 GB, free: 96.75 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02713/2.131, allocations: 13.43 MB / 1.202 GB, free: 83.32 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001221/2.131, allocations: 40 kB / 1.202 GB, free: 83.28 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.282e-05/2.131, allocations: 16 kB / 1.202 GB, free: 83.27 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001171/2.131, allocations: 23.92 kB / 1.202 GB, free: 83.24 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05165/2.183, allocations: 26.36 MB / 1.227 GB, free: 56.62 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.208e-05/2.183, allocations: 12 kB / 1.227 GB, free: 56.61 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003511/2.187, allocations: 0.6432 MB / 1.228 GB, free: 55.96 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01209/2.199, allocations: 4.712 MB / 1.233 GB, free: 51.25 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001128/2.2, allocations: 27.98 kB / 1.233 GB, free: 51.22 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03135/2.231, allocations: 24.06 MB / 1.256 GB, free: 27.04 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.234e-05/2.231, allocations: 11.94 kB / 1.256 GB, free: 27.02 MB / 0.6828 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03277/2.264, allocations: 21.71 MB / 1.277 GB, free: 4.73 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004844/2.269, allocations: 1.528 MB / 1.279 GB, free: 3.176 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002789/2.272, allocations: 19.98 kB / 1.279 GB, free: 3.156 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005381/2.277, allocations: 295.5 kB / 1.279 GB, free: 2.867 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001565/2.279, allocations: 222.1 kB / 1.279 GB, free: 2.648 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001136/2.28, allocations: 120 kB / 1.28 GB, free: 2.531 MB / 0.6828 GB Notification: Performance of sort global known variables: time 0.2435/2.524, allocations: 4.106 MB / 1.284 GB, free: 233.6 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.0106/2.534, allocations: 1.797 MB / 1.285 GB, free: 233.6 MB / 0.6828 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (312): * Single equations (assignments): 306 * 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 {(8,70.3%) 87} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001038/2.535, allocations: 196.8 kB / 1.285 GB, free: 233.5 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.01698/2.552, allocations: 12.2 MB / 1.297 GB, free: 233.2 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/2.552, allocations: 0 / 1.297 GB, free: 233.2 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.007772/2.56, allocations: 5.43 MB / 1.303 GB, free: 233.1 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005382/2.566, allocations: 0.8299 MB / 1.303 GB, free: 233.1 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04387/2.609, allocations: 18.59 MB / 1.322 GB, free: 230.4 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01415/2.624, allocations: 6.303 MB / 1.328 GB, free: 229.5 MB / 0.6828 GB Notification: Performance of SimCode: time 1.302e-06/2.624, allocations: 3.281 kB / 1.328 GB, free: 229.5 MB / 0.6828 GB Notification: Performance of Templates: time 0.1672/2.791, allocations: 97.87 MB / 1.423 GB, free: 181 MB / 0.6828 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches