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/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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 111.6 kB / 17.75 MB, free: 5.305 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.0009462/0.0009462, allocations: 190.6 kB / 18.68 MB, free: 4.375 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.296/1.296, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.162/1.162, allocations: 119.3 MB / 411.9 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 66.86 kB / 0.5717 GB, free: 39.65 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1536, allocations: 80.69 MB / 0.6505 GB, free: 12.97 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4): time 0.01/0.1637, allocations: 9.236 MB / 0.6595 GB, free: 3.695 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.006833/0.1706, allocations: 3.621 MB / 0.663 GB, free: 64 kB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.1717, allocations: 51.81 kB / 0.6631 GB, free: 12 kB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.003119/0.1749, allocations: 1.565 MB / 0.6646 GB, free: 14.44 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.003851/0.1788, allocations: 1.607 MB / 0.6662 GB, free: 12.83 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.1802, allocations: 0.6082 MB / 0.6668 GB, free: 12.22 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.01294/0.1931, allocations: 11.18 MB / 0.6777 GB, free: 1.023 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00942/0.2026, allocations: 8.054 MB / 0.6855 GB, free: 8.879 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006029/0.2087, allocations: 3.291 MB / 0.6888 GB, free: 5.578 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007132/0.2159, allocations: 4.378 MB / 0.693 GB, free: 1.188 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.002198/0.2181, allocations: 0.6289 MB / 0.6937 GB, free: 0.5586 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0042/0.2223, allocations: 1.522 MB / 0.6951 GB, free: 15.04 MB / 0.5452 GB Notification: Performance of NFScalarize.scalarize: time 0.005457/0.2278, allocations: 3.807 MB / 0.6989 GB, free: 11.22 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.007293/0.2351, allocations: 4.118 MB / 0.7029 GB, free: 7.078 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.01558/0.2507, allocations: 13.33 MB / 0.7159 GB, free: 9.695 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.2508, allocations: 0 / 0.7159 GB, free: 9.695 MB / 0.5608 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2508, allocations: 0 / 0.7159 GB, free: 9.695 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.0004066/0.2512, allocations: 4 kB / 0.7159 GB, free: 9.691 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.02741/0.2786, allocations: 10.8 MB / 0.7265 GB, free: 14.77 MB / 0.5764 GB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.2787, allocations: 19.89 kB / 0.7265 GB, free: 14.75 MB / 0.5764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0636/0.3423, allocations: 12.38 MB / 0.7386 GB, free: 2.352 MB / 0.5764 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02301/0.3654, allocations: 9.475 MB / 0.7478 GB, free: 8.805 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004475/0.3659, allocations: 394.4 kB / 0.7482 GB, free: 8.418 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002967/0.3689, allocations: 0.5464 MB / 0.7487 GB, free: 7.871 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03742/0.4063, allocations: 17.85 MB / 0.7662 GB, free: 5.035 MB / 0.6077 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005678/0.4069, allocations: 103.3 kB / 0.7663 GB, free: 4.934 MB / 0.6077 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002386/0.4094, allocations: 243.8 kB / 0.7665 GB, free: 4.695 MB / 0.6077 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005806/0.4152, allocations: 2.907 MB / 0.7693 GB, free: 1.781 MB / 0.6077 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6927/1.108, allocations: 16.33 MB / 0.7853 GB, free: 97.2 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07786/1.186, allocations: 66.2 MB / 0.8499 GB, free: 40.68 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01741/1.203, allocations: 8.322 MB / 0.8581 GB, free: 32.23 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006308/1.21, allocations: 5.591 MB / 0.8635 GB, free: 26.63 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005881/1.21, allocations: 386.6 kB / 0.8639 GB, free: 26.21 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01505/1.225, allocations: 6.131 MB / 0.8699 GB, free: 20.05 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=337): time 8.727e-06/1.225, allocations: 3.938 kB / 0.8699 GB, free: 20.04 MB / 0.6079 GB Notification: Performance of matching and sorting (n=428): time 0.1879/1.413, allocations: 69.33 MB / 0.9376 GB, free: 14.78 MB / 0.6704 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002352/1.414, allocations: 432.4 kB / 0.938 GB, free: 14.27 MB / 0.6704 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01598/1.43, allocations: 7.316 MB / 0.9451 GB, free: 6.949 MB / 0.6704 GB Notification: Performance of collectPreVariables (initialization): time 0.001363/1.431, allocations: 95.73 kB / 0.9452 GB, free: 6.852 MB / 0.6704 GB Notification: Performance of collectInitialEqns (initialization): time 0.006467/1.437, allocations: 4.772 MB / 0.9499 GB, free: 2.074 MB / 0.6704 GB Notification: Performance of collectInitialBindings (initialization): time 0.003071/1.441, allocations: 1.663 MB / 0.9515 GB, free: 408 kB / 0.6704 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006092/1.447, allocations: 1.971 MB / 0.9534 GB, free: 14.41 MB / 0.686 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.447, allocations: 301.1 kB / 0.9537 GB, free: 14.11 MB / 0.686 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01027/1.457, allocations: 5.95 MB / 0.9595 GB, free: 8.156 MB / 0.686 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01428/1.471, allocations: 10.32 MB / 0.9696 GB, free: 11.77 MB / 0.7017 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02375/1.495, allocations: 17.04 MB / 0.9862 GB, free: 8.684 MB / 0.7173 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000136/1.495, allocations: 44 kB / 0.9863 GB, free: 8.641 MB / 0.7173 GB Notification: Performance of matching and sorting (n=1189) (initialization): time 0.04972/1.545, allocations: 23.18 MB / 1.009 GB, free: 1.422 MB / 0.7329 GB Notification: Performance of prepare postOptimizeDAE: time 0.000243/1.545, allocations: 97.69 kB / 1.009 GB, free: 1.32 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002723/1.546, allocations: 144 kB / 1.009 GB, free: 1.18 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02032/1.566, allocations: 7.438 MB / 1.016 GB, free: 9.727 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008602/1.575, allocations: 2.207 MB / 1.019 GB, free: 7.516 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05441/1.629, allocations: 36.81 MB / 1.055 GB, free: 2.535 MB / 0.7798 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008548/1.638, allocations: 0.9166 MB / 1.055 GB, free: 1.617 MB / 0.7798 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001914/1.64, allocations: 491.9 kB / 1.056 GB, free: 1.137 MB / 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.00816/1.648, allocations: 4.202 MB / 1.06 GB, free: 12.92 MB / 0.7954 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001931/1.65, allocations: 0.6364 MB / 1.061 GB, free: 12.28 MB / 0.7954 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3795/2.029, allocations: 17.03 MB / 1.077 GB, free: 268.8 MB / 0.7954 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001098/2.029, allocations: 20.11 kB / 1.077 GB, free: 268.8 MB / 0.7954 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/2.029, allocations: 2.188 kB / 1.077 GB, free: 268.8 MB / 0.7954 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00489/2.034, allocations: 1.762 MB / 1.079 GB, free: 268.7 MB / 0.7954 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002121/2.036, allocations: 70.22 kB / 1.079 GB, free: 268.7 MB / 0.7954 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005074/2.042, allocations: 0.669 MB / 1.08 GB, free: 268.7 MB / 0.7954 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001539/2.043, allocations: 341.7 kB / 1.08 GB, free: 268.7 MB / 0.7954 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03394/2.077, allocations: 17.47 MB / 1.097 GB, free: 266.6 MB / 0.7954 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0231/2.1, allocations: 17.57 MB / 1.114 GB, free: 261 MB / 0.7954 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006158/2.106, allocations: 5.109 MB / 1.119 GB, free: 258.4 MB / 0.7954 GB Notification: Performance of sorting global known variables: time 0.007434/2.114, allocations: 4.799 MB / 1.124 GB, free: 255.2 MB / 0.7954 GB Notification: Performance of Backend: time 1.152e-06/2.114, allocations: 0 / 1.124 GB, free: 255.2 MB / 0.7954 GB Notification: Performance of simCode: created initialization part: time 0.02/2.134, allocations: 9.871 MB / 1.134 GB, free: 245.5 MB / 0.7954 GB Notification: Performance of SimCode: time 0.03019/2.164, allocations: 18.82 MB / 1.152 GB, free: 226.9 MB / 0.7954 GB Notification: Performance of Templates: time 0.1627/2.327, allocations: 125.4 MB / 1.274 GB, free: 102.1 MB / 0.7954 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches