Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001505/0.001505, allocations: 109.5 kB / 17.75 MB, free: 5.223 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.001647/0.001647, allocations: 191.1 kB / 18.67 MB, free: 4.305 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.368/1.368, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9958/0.9958, allocations: 119.3 MB / 411.9 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 61.75 kB / 0.5717 GB, free: 39.75 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1622, allocations: 80.69 MB / 0.6505 GB, free: 12.96 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8): time 0.01147/0.1737, allocations: 9.224 MB / 0.6595 GB, free: 3.695 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.007419/0.1811, allocations: 3.633 MB / 0.663 GB, free: 52 kB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.1828, allocations: 51.81 kB / 0.6631 GB, free: 0 / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.003395/0.1862, allocations: 1.561 MB / 0.6646 GB, free: 14.43 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.00417/0.1905, allocations: 1.564 MB / 0.6661 GB, free: 12.87 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.1921, allocations: 0.6199 MB / 0.6667 GB, free: 12.25 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.02312/0.2153, allocations: 18.94 MB / 0.6852 GB, free: 9.27 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0215/0.2368, allocations: 14.24 MB / 0.6991 GB, free: 10.94 MB / 0.5452 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01006/0.2469, allocations: 5.532 MB / 0.7045 GB, free: 5.391 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01202/0.259, allocations: 7.331 MB / 0.7117 GB, free: 14.04 MB / 0.5608 GB Notification: Performance of NFPackage.collectConstants: time 0.004395/0.2634, allocations: 1.066 MB / 0.7127 GB, free: 12.97 MB / 0.5608 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006862/0.2703, allocations: 1.951 MB / 0.7146 GB, free: 11.02 MB / 0.5608 GB Notification: Performance of NFScalarize.scalarize: time 0.01023/0.2806, allocations: 6.337 MB / 0.7208 GB, free: 4.668 MB / 0.5608 GB Notification: Performance of NFVerifyModel.verify: time 0.0156/0.2962, allocations: 6.765 MB / 0.7274 GB, free: 13.86 MB / 0.5764 GB Notification: Performance of NFConvertDAE.convert: time 0.02906/0.3253, allocations: 21.51 MB / 0.7484 GB, free: 8.285 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.3254, allocations: 0 / 0.7484 GB, free: 8.285 MB / 0.592 GB Notification: Performance of FrontEnd: time 3.567e-06/0.3254, allocations: 0 / 0.7484 GB, free: 8.285 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.001087/0.3265, allocations: 0 / 0.7484 GB, free: 8.285 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.05751/0.384, allocations: 17.58 MB / 0.7656 GB, free: 6.586 MB / 0.6077 GB Notification: Performance of prepare preOptimizeDAE: time 7.37e-05/0.3841, allocations: 8.031 kB / 0.7656 GB, free: 6.578 MB / 0.6077 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7271/1.111, allocations: 21.02 MB / 0.7861 GB, free: 93.35 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03565/1.147, allocations: 16.38 MB / 0.8021 GB, free: 85.28 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005208/1.148, allocations: 0.6286 MB / 0.8028 GB, free: 84.72 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0048/1.152, allocations: 0.8974 MB / 0.8036 GB, free: 83.89 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05485/1.207, allocations: 29.03 MB / 0.832 GB, free: 53.68 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000643/1.208, allocations: 162.7 kB / 0.8321 GB, free: 53.52 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003303/1.211, allocations: 394.3 kB / 0.8325 GB, free: 53.14 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006945/1.218, allocations: 4.459 MB / 0.8369 GB, free: 48.68 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04728/1.265, allocations: 27.03 MB / 0.8633 GB, free: 21.61 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1694/1.435, allocations: 106.2 MB / 0.9669 GB, free: 8.672 MB / 0.7017 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03801/1.473, allocations: 15.16 MB / 0.9817 GB, free: 9.352 MB / 0.7173 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01649/1.49, allocations: 10.92 MB / 0.9924 GB, free: 14.39 MB / 0.7329 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001306/1.491, allocations: 431.3 kB / 0.9928 GB, free: 13.91 MB / 0.7329 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03401/1.525, allocations: 11.71 MB / 1.004 GB, free: 2.098 MB / 0.7329 GB Notification: Performance of pre-optimization done (n=593): time 1.655e-05/1.525, allocations: 0 / 1.004 GB, free: 2.098 MB / 0.7329 GB Notification: Performance of matching and sorting (n=790): time 0.7914/2.316, allocations: 159.7 MB / 1.16 GB, free: 244 MB / 0.811 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/2.317, allocations: 0.6649 MB / 1.161 GB, free: 243.2 MB / 0.811 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0125/2.329, allocations: 11.3 MB / 1.172 GB, free: 232 MB / 0.811 GB Notification: Performance of collectPreVariables (initialization): time 0.002429/2.332, allocations: 153.7 kB / 1.172 GB, free: 231.8 MB / 0.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.005136/2.337, allocations: 6.951 MB / 1.179 GB, free: 224.9 MB / 0.811 GB Notification: Performance of collectInitialBindings (initialization): time 0.00445/2.341, allocations: 2.878 MB / 1.182 GB, free: 222 MB / 0.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005743/2.347, allocations: 3.079 MB / 1.185 GB, free: 218.9 MB / 0.811 GB Notification: Performance of setup shared object (initialization): time 6.9e-05/2.347, allocations: 309 kB / 1.185 GB, free: 218.6 MB / 0.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01385/2.361, allocations: 11.51 MB / 1.196 GB, free: 207.1 MB / 0.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01664/2.378, allocations: 17.32 MB / 1.213 GB, free: 187.3 MB / 0.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03374/2.411, allocations: 30.05 MB / 1.242 GB, free: 154.6 MB / 0.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001904/2.412, allocations: 52 kB / 1.243 GB, free: 154.6 MB / 0.811 GB Notification: Performance of matching and sorting (n=1823) (initialization): time 0.08372/2.495, allocations: 44.14 MB / 1.286 GB, free: 110.4 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003882/2.496, allocations: 114.7 kB / 1.286 GB, free: 110.2 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004553/2.496, allocations: 184 kB / 1.286 GB, free: 110.1 MB / 0.811 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.0004417/2.497, allocations: 264.9 kB / 1.286 GB, free: 109.8 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01282/2.509, allocations: 3.318 MB / 1.289 GB, free: 106.5 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003889/2.51, allocations: 378.6 kB / 1.29 GB, free: 106.1 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01513/2.525, allocations: 1.696 MB / 1.291 GB, free: 104.4 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003815/2.529, allocations: 0.699 MB / 1.292 GB, free: 103.7 MB / 0.811 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.0132/2.542, allocations: 6.801 MB / 1.299 GB, free: 96.9 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003971/2.546, allocations: 0.9632 MB / 1.3 GB, free: 95.93 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07017/2.616, allocations: 36.68 MB / 1.335 GB, free: 59.14 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002281/2.617, allocations: 39.84 kB / 1.336 GB, free: 59.1 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-05/2.617, allocations: 0 / 1.336 GB, free: 59.1 MB / 0.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01097/2.628, allocations: 3.265 MB / 1.339 GB, free: 55.8 MB / 0.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005072/2.633, allocations: 143.9 kB / 1.339 GB, free: 55.66 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01046/2.643, allocations: 1.366 MB / 1.34 GB, free: 54.29 MB / 0.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004134/2.647, allocations: 0.6491 MB / 1.341 GB, free: 53.64 MB / 0.811 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07071/2.718, allocations: 36.5 MB / 1.376 GB, free: 17.23 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.4727/3.191, allocations: 36.14 MB / 1.412 GB, free: 245.8 MB / 0.811 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01311/3.204, allocations: 10.75 MB / 1.422 GB, free: 242.7 MB / 0.811 GB Notification: Performance of sorting global known variables: time 0.01465/3.219, allocations: 7.512 MB / 1.43 GB, free: 240.7 MB / 0.811 GB Notification: Performance of Backend: time 1.072e-06/3.219, allocations: 1.031 kB / 1.43 GB, free: 240.7 MB / 0.811 GB Notification: Performance of simCode: created initialization part: time 0.05612/3.275, allocations: 24.62 MB / 1.454 GB, free: 234.8 MB / 0.811 GB Notification: Performance of SimCode: time 0.06144/3.336, allocations: 31.28 MB / 1.484 GB, free: 205.7 MB / 0.811 GB Notification: Performance of Templates: time 0.6382/3.975, allocations: 212.6 MB / 1.692 GB, free: 272.7 MB / 0.8267 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches