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.001323/0.001323, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001414/0.001414, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.26/1.26, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9218/0.9218, allocations: 119.3 MB / 411.9 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 62.91 kB / 0.5716 GB, free: 39.71 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1208, allocations: 80.71 MB / 0.6505 GB, free: 12.95 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4): time 0.009727/0.1306, allocations: 9.228 MB / 0.6595 GB, free: 3.684 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.006317/0.137, allocations: 3.637 MB / 0.663 GB, free: 36 kB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.138, allocations: 47.92 kB / 0.6631 GB, free: 15.98 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.002636/0.1407, allocations: 1.553 MB / 0.6646 GB, free: 14.43 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.003684/0.1444, allocations: 1.564 MB / 0.6661 GB, free: 12.86 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.1457, allocations: 0.616 MB / 0.6667 GB, free: 12.24 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.01072/0.1564, allocations: 11.18 MB / 0.6776 GB, free: 1.047 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007774/0.1642, allocations: 8.057 MB / 0.6855 GB, free: 8.898 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004756/0.169, allocations: 3.288 MB / 0.6887 GB, free: 5.602 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005748/0.1748, allocations: 4.37 MB / 0.693 GB, free: 1.219 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.001867/0.1767, allocations: 0.6289 MB / 0.6936 GB, free: 0.5898 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00345/0.1801, allocations: 1.53 MB / 0.6951 GB, free: 15.06 MB / 0.5452 GB Notification: Performance of NFScalarize.scalarize: time 0.003981/0.1841, allocations: 3.799 MB / 0.6988 GB, free: 11.25 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.005215/0.1894, allocations: 4.115 MB / 0.7028 GB, free: 7.113 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.01328/0.2027, allocations: 13.3 MB / 0.7158 GB, free: 9.77 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.2027, allocations: 0 / 0.7158 GB, free: 9.77 MB / 0.5608 GB Notification: Performance of FrontEnd: time 5.59e-06/0.2028, allocations: 4 kB / 0.7158 GB, free: 9.766 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.0006244/0.2034, allocations: 0 / 0.7158 GB, free: 9.766 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: 2218 * Number of variables: 2218 Notification: Performance of Generate backend data structure: time 0.02603/0.2294, allocations: 10.58 MB / 0.7261 GB, free: 15.09 MB / 0.5764 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.2295, allocations: 15.88 kB / 0.7262 GB, free: 15.07 MB / 0.5764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05873/0.2882, allocations: 12.32 MB / 0.7382 GB, free: 2.715 MB / 0.5764 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02179/0.31, allocations: 9.448 MB / 0.7474 GB, free: 9.191 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004279/0.3105, allocations: 390.4 kB / 0.7478 GB, free: 8.809 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002402/0.3129, allocations: 0.5346 MB / 0.7483 GB, free: 8.273 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.034/0.347, allocations: 17.86 MB / 0.7658 GB, free: 5.426 MB / 0.6077 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005868/0.3476, allocations: 99.27 kB / 0.7659 GB, free: 5.328 MB / 0.6077 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002664/0.3503, allocations: 239.8 kB / 0.7661 GB, free: 5.094 MB / 0.6077 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005787/0.3561, allocations: 2.907 MB / 0.7689 GB, free: 2.18 MB / 0.6077 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6179/0.974, allocations: 16.34 MB / 0.7849 GB, free: 95.52 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07685/1.051, allocations: 66.1 MB / 0.8494 GB, free: 39.1 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01612/1.067, allocations: 8.313 MB / 0.8576 GB, free: 30.66 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005578/1.073, allocations: 5.59 MB / 0.863 GB, free: 25.06 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000508/1.073, allocations: 388.3 kB / 0.8634 GB, free: 24.64 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01372/1.087, allocations: 6.124 MB / 0.8694 GB, free: 18.48 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=337): time 7.925e-06/1.087, allocations: 0 / 0.8694 GB, free: 18.48 MB / 0.6079 GB Notification: Performance of matching and sorting (n=428): time 0.171/1.258, allocations: 68.95 MB / 0.9367 GB, free: 13.55 MB / 0.6704 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001976/1.258, allocations: 436.4 kB / 0.9371 GB, free: 13.04 MB / 0.6704 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01256/1.271, allocations: 7.306 MB / 0.9442 GB, free: 5.727 MB / 0.6704 GB Notification: Performance of collectPreVariables (initialization): time 0.001122/1.272, allocations: 93.7 kB / 0.9443 GB, free: 5.629 MB / 0.6704 GB Notification: Performance of collectInitialEqns (initialization): time 0.004527/1.277, allocations: 4.615 MB / 0.9488 GB, free: 1.004 MB / 0.6704 GB Notification: Performance of collectInitialBindings (initialization): time 0.002592/1.279, allocations: 1.588 MB / 0.9504 GB, free: 15.39 MB / 0.686 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006209/1.285, allocations: 1.958 MB / 0.9523 GB, free: 13.42 MB / 0.686 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.286, allocations: 305.1 kB / 0.9526 GB, free: 13.12 MB / 0.686 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01006/1.296, allocations: 5.955 MB / 0.9584 GB, free: 7.156 MB / 0.686 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01325/1.309, allocations: 10.31 MB / 0.9685 GB, free: 10.78 MB / 0.7017 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0225/1.331, allocations: 17.04 MB / 0.9851 GB, free: 7.695 MB / 0.7173 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001762/1.332, allocations: 44 kB / 0.9852 GB, free: 7.652 MB / 0.7173 GB Notification: Performance of matching and sorting (n=1189) (initialization): time 0.04709/1.379, allocations: 23.15 MB / 1.008 GB, free: 468 kB / 0.7329 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002898/1.379, allocations: 93.7 kB / 1.008 GB, free: 368 kB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002868/1.379, allocations: 144 kB / 1.008 GB, free: 224 kB / 0.7329 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01832/1.398, allocations: 7.45 MB / 1.015 GB, free: 8.754 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007606/1.405, allocations: 2.203 MB / 1.017 GB, free: 6.547 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05092/1.456, allocations: 36.79 MB / 1.053 GB, free: 1.578 MB / 0.7798 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008535/1.465, allocations: 0.9164 MB / 1.054 GB, free: 0.6602 MB / 0.7798 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002173/1.467, allocations: 491.9 kB / 1.055 GB, free: 184 kB / 0.7798 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 657 * Number of states: 0 () * Number of discrete variables: 62 (pulse1.count,$PRE.pulse1.count,pulse1.T_start,$PRE.pulse1.T_start,$whenCondition1,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 (1067): * Single equations (assignments): 1062 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,91,81.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008693/1.476, allocations: 4.206 MB / 1.059 GB, free: 11.96 MB / 0.7954 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002244/1.478, allocations: 0.5979 MB / 1.059 GB, free: 11.35 MB / 0.7954 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3236/1.802, allocations: 17.04 MB / 1.076 GB, free: 267.4 MB / 0.7954 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-05/1.802, allocations: 20.75 kB / 1.076 GB, free: 267.4 MB / 0.7954 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/1.802, allocations: 0 / 1.076 GB, free: 267.4 MB / 0.7954 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003798/1.806, allocations: 1.721 MB / 1.078 GB, free: 267.3 MB / 0.7954 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007751/1.806, allocations: 75.62 kB / 1.078 GB, free: 267.3 MB / 0.7954 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003288/1.81, allocations: 0.668 MB / 1.078 GB, free: 267.3 MB / 0.7954 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008438/1.811, allocations: 334.9 kB / 1.079 GB, free: 267.3 MB / 0.7954 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02594/1.837, allocations: 17.46 MB / 1.096 GB, free: 265.2 MB / 0.7954 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01562/1.852, allocations: 17.54 MB / 1.113 GB, free: 259.2 MB / 0.7954 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004246/1.856, allocations: 5.111 MB / 1.118 GB, free: 256.6 MB / 0.7954 GB Notification: Performance of sorting global known variables: time 0.004821/1.861, allocations: 4.805 MB / 1.123 GB, free: 252.4 MB / 0.7954 GB Notification: Performance of Backend: time 3.7e-07/1.861, allocations: 0 / 1.123 GB, free: 252.4 MB / 0.7954 GB Notification: Performance of simCode: created initialization part: time 0.01247/1.874, allocations: 9.852 MB / 1.132 GB, free: 242.7 MB / 0.7954 GB Notification: Performance of SimCode: time 0.01882/1.893, allocations: 18.55 MB / 1.15 GB, free: 224.4 MB / 0.7954 GB Notification: Performance of Templates: time 0.3186/2.211, allocations: 125.4 MB / 1.273 GB, free: 99.57 MB / 0.7954 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.makefile (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) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches