Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.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_8,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|revolute.5..angle|revolute.5..phi|revolute.6..angle|revolute.6..phi|revolute.7..angle|revolute.7..phi|revolute.8..angle|revolute.8..phi|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8") translateModel(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8,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|revolute.5..angle|revolute.5..phi|revolute.6..angle|revolute.6..phi|revolute.7..angle|revolute.7..phi|revolute.8..angle|revolute.8..phi|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 110.2 kB / 17.75 MB, free: 5.336 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.001385/0.001385, allocations: 185.4 kB / 18.67 MB, free: 4.418 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.279/1.279, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9038/0.9038, allocations: 119.3 MB / 411.9 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 66.27 kB / 0.5717 GB, free: 39.71 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1196, allocations: 80.69 MB / 0.6505 GB, free: 12.98 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8): time 0.009664/0.1293, allocations: 9.232 MB / 0.6595 GB, free: 3.703 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.006582/0.1359, allocations: 3.621 MB / 0.663 GB, free: 72 kB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.1374, allocations: 47.88 kB / 0.6631 GB, free: 24 kB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.003/0.1404, allocations: 1.565 MB / 0.6646 GB, free: 14.45 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.003744/0.1442, allocations: 1.568 MB / 0.6661 GB, free: 12.88 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.1457, allocations: 0.6043 MB / 0.6667 GB, free: 12.28 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.02062/0.1664, allocations: 18.96 MB / 0.6852 GB, free: 9.281 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01664/0.183, allocations: 14.24 MB / 0.6991 GB, free: 10.95 MB / 0.5452 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008286/0.1914, allocations: 5.528 MB / 0.7045 GB, free: 5.406 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009544/0.201, allocations: 7.331 MB / 0.7117 GB, free: 14.05 MB / 0.5608 GB Notification: Performance of NFPackage.collectConstants: time 0.003269/0.2043, allocations: 1.07 MB / 0.7127 GB, free: 12.98 MB / 0.5608 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005498/0.2098, allocations: 1.948 MB / 0.7146 GB, free: 11.04 MB / 0.5608 GB Notification: Performance of NFScalarize.scalarize: time 0.007998/0.2178, allocations: 6.341 MB / 0.7208 GB, free: 4.68 MB / 0.5608 GB Notification: Performance of NFVerifyModel.verify: time 0.01065/0.2285, allocations: 6.765 MB / 0.7274 GB, free: 13.88 MB / 0.5764 GB Notification: Performance of NFConvertDAE.convert: time 0.02202/0.2505, allocations: 21.5 MB / 0.7484 GB, free: 8.309 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.2506, allocations: 4 kB / 0.7484 GB, free: 8.305 MB / 0.592 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2506, allocations: 0 / 0.7484 GB, free: 8.305 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.0007672/0.2514, allocations: 0 / 0.7484 GB, free: 8.305 MB / 0.592 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3442 * Number of variables: 3442 Notification: Performance of Generate backend data structure: time 0.04269/0.2941, allocations: 17.57 MB / 0.7656 GB, free: 6.609 MB / 0.6077 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2941, allocations: 16.03 kB / 0.7656 GB, free: 6.594 MB / 0.6077 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5398/0.8339, allocations: 21.03 MB / 0.7861 GB, free: 93.77 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02744/0.8614, allocations: 16.38 MB / 0.8021 GB, free: 85.47 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000284/0.8617, allocations: 0.627 MB / 0.8028 GB, free: 84.91 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002098/0.8638, allocations: 0.8936 MB / 0.8036 GB, free: 84.08 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03419/0.898, allocations: 29.03 MB / 0.832 GB, free: 53.87 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003091/0.8984, allocations: 162.7 kB / 0.8321 GB, free: 53.71 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009159/0.8993, allocations: 391.7 kB / 0.8325 GB, free: 53.33 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00567/0.905, allocations: 4.466 MB / 0.8369 GB, free: 48.86 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0357/0.9407, allocations: 27.03 MB / 0.8633 GB, free: 21.79 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1216/1.062, allocations: 106.1 MB / 0.9669 GB, free: 8.852 MB / 0.7017 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03193/1.094, allocations: 15.17 MB / 0.9817 GB, free: 9.52 MB / 0.7173 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01292/1.107, allocations: 10.93 MB / 0.9924 GB, free: 14.56 MB / 0.7329 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008404/1.108, allocations: 427.3 kB / 0.9928 GB, free: 14.09 MB / 0.7329 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02802/1.136, allocations: 11.7 MB / 1.004 GB, free: 2.273 MB / 0.7329 GB Notification: Performance of pre-optimization done (n=593): time 1.17e-05/1.136, allocations: 0 / 1.004 GB, free: 2.273 MB / 0.7329 GB Notification: Performance of matching and sorting (n=790): time 0.6303/1.767, allocations: 159.7 MB / 1.16 GB, free: 212.8 MB / 0.7954 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/1.767, allocations: 0.6778 MB / 1.161 GB, free: 211.9 MB / 0.7954 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01263/1.779, allocations: 11.3 MB / 1.172 GB, free: 200.7 MB / 0.7954 GB Notification: Performance of collectPreVariables (initialization): time 0.001955/1.781, allocations: 149.7 kB / 1.172 GB, free: 200.6 MB / 0.7954 GB Notification: Performance of collectInitialEqns (initialization): time 0.004623/1.786, allocations: 6.963 MB / 1.179 GB, free: 193.6 MB / 0.7954 GB Notification: Performance of collectInitialBindings (initialization): time 0.003416/1.789, allocations: 2.876 MB / 1.182 GB, free: 190.7 MB / 0.7954 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004779/1.794, allocations: 3.075 MB / 1.185 GB, free: 187.7 MB / 0.7954 GB Notification: Performance of setup shared object (initialization): time 4.508e-05/1.794, allocations: 305.1 kB / 1.185 GB, free: 187.4 MB / 0.7954 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01185/1.806, allocations: 11.51 MB / 1.196 GB, free: 175.8 MB / 0.7954 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01528/1.821, allocations: 17.33 MB / 1.213 GB, free: 155.9 MB / 0.7954 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03372/1.855, allocations: 30.04 MB / 1.242 GB, free: 123.2 MB / 0.7954 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001805/1.855, allocations: 52 kB / 1.242 GB, free: 123.1 MB / 0.7954 GB Notification: Performance of matching and sorting (n=1823) (initialization): time 0.06858/1.924, allocations: 44.15 MB / 1.286 GB, free: 78.89 MB / 0.7954 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001938/1.924, allocations: 112 kB / 1.286 GB, free: 78.78 MB / 0.7954 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002358/1.925, allocations: 189.7 kB / 1.286 GB, free: 78.59 MB / 0.7954 GB Notification: Tearing is skipped for strong component 1 because system size of 218 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.0002286/1.925, allocations: 260.9 kB / 1.286 GB, free: 78.34 MB / 0.7954 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01013/1.935, allocations: 3.326 MB / 1.289 GB, free: 75.01 MB / 0.7954 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003322/1.935, allocations: 382.6 kB / 1.29 GB, free: 74.63 MB / 0.7954 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01293/1.948, allocations: 1.685 MB / 1.291 GB, free: 72.95 MB / 0.7954 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002957/1.951, allocations: 0.7028 MB / 1.292 GB, free: 72.25 MB / 0.7954 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 845 * Number of states: 0 () * Number of discrete variables: 98 (pulse1.count,$PRE.pulse1.count,pulse1.T_start,$PRE.pulse1.T_start,$whenCondition1,bodybox[9].color[3],bodybox[9].color[2],bodybox[9].color[1],bodybox[9].body.sphereColor[3],bodybox[9].body.sphereColor[2],bodybox[9].body.sphereColor[1],bodybox[8].color[3],bodybox[8].color[2],bodybox[8].color[1],bodybox[8].body.sphereColor[3],bodybox[8].body.sphereColor[2],bodybox[8].body.sphereColor[1],bodybox[7].color[3],bodybox[7].color[2],bodybox[7].color[1],bodybox[7].body.sphereColor[3],bodybox[7].body.sphereColor[2],bodybox[7].body.sphereColor[1],bodybox[6].color[3],bodybox[6].color[2],bodybox[6].color[1],bodybox[6].body.sphereColor[3],bodybox[6].body.sphereColor[2],bodybox[6].body.sphereColor[1],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[8].cylinderColor[3],revolute[8].cylinderColor[2],revolute[8].cylinderColor[1],revolute[7].cylinderColor[3],revolute[7].cylinderColor[2],revolute[7].cylinderColor[1],revolute[6].cylinderColor[3],revolute[6].cylinderColor[2],revolute[6].cylinderColor[1],revolute[5].cylinderColor[3],revolute[5].cylinderColor[2],revolute[5].cylinderColor[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 (1581): * Single equations (assignments): 1576 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(218,1.7%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0109/1.962, allocations: 6.8 MB / 1.299 GB, free: 65.42 MB / 0.7954 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003229/1.965, allocations: 0.9643 MB / 1.3 GB, free: 64.45 MB / 0.7954 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06093/2.026, allocations: 36.67 MB / 1.335 GB, free: 27.66 MB / 0.7954 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001972/2.026, allocations: 44.5 kB / 1.336 GB, free: 27.62 MB / 0.7954 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.108e-05/2.027, allocations: 0 / 1.336 GB, free: 27.62 MB / 0.7954 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009417/2.036, allocations: 3.257 MB / 1.339 GB, free: 24.33 MB / 0.7954 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003813/2.04, allocations: 143.9 kB / 1.339 GB, free: 24.19 MB / 0.7954 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008577/2.048, allocations: 1.361 MB / 1.34 GB, free: 22.82 MB / 0.7954 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003415/2.052, allocations: 0.6608 MB / 1.341 GB, free: 22.16 MB / 0.7954 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.402/2.454, allocations: 36.51 MB / 1.376 GB, free: 249 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04419/2.498, allocations: 36.13 MB / 1.412 GB, free: 238.6 MB / 0.811 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01203/2.51, allocations: 10.76 MB / 1.422 GB, free: 235.5 MB / 0.811 GB Notification: Performance of sorting global known variables: time 0.011/2.521, allocations: 7.515 MB / 1.43 GB, free: 233.5 MB / 0.811 GB Notification: Performance of Backend: time 5.92e-07/2.521, allocations: 0 / 1.43 GB, free: 233.5 MB / 0.811 GB Notification: Performance of simCode: created initialization part: time 0.04838/2.57, allocations: 24.61 MB / 1.454 GB, free: 220.6 MB / 0.811 GB Notification: Performance of SimCode: time 0.04724/2.617, allocations: 31.28 MB / 1.484 GB, free: 189.8 MB / 0.811 GB Notification: Performance of Templates: time 0.8522/3.469, allocations: 212.6 MB / 1.692 GB, free: 271.2 MB / 0.8267 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches