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.001587/0.001586, allocations: 112.7 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.001842/0.001842, allocations: 187 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.32/1.32, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.883/0.883, allocations: 119.3 MB / 411.8 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 62.94 kB / 0.5717 GB, free: 39.62 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1392, allocations: 80.71 MB / 0.6505 GB, free: 12.85 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4): time 0.009191/0.1485, allocations: 9.227 MB / 0.6595 GB, free: 3.586 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.006622/0.1551, allocations: 3.629 MB / 0.663 GB, free: 15.95 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.1563, allocations: 51.81 kB / 0.6631 GB, free: 15.89 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.002963/0.1593, allocations: 1.557 MB / 0.6646 GB, free: 14.33 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.003673/0.163, allocations: 1.599 MB / 0.6662 GB, free: 12.73 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.1644, allocations: 0.6121 MB / 0.6668 GB, free: 12.11 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.01262/0.1771, allocations: 11.17 MB / 0.6777 GB, free: 0.918 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01061/0.1877, allocations: 8.057 MB / 0.6855 GB, free: 8.77 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005946/0.1937, allocations: 3.291 MB / 0.6888 GB, free: 5.469 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006999/0.2007, allocations: 4.374 MB / 0.693 GB, free: 1.082 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.002322/0.2031, allocations: 0.6328 MB / 0.6936 GB, free: 460 kB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004354/0.2075, allocations: 1.526 MB / 0.6951 GB, free: 14.92 MB / 0.5452 GB Notification: Performance of NFScalarize.scalarize: time 0.005057/0.2126, allocations: 3.803 MB / 0.6988 GB, free: 11.11 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.007243/0.2198, allocations: 4.115 MB / 0.7029 GB, free: 6.973 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.01509/0.2349, allocations: 13.29 MB / 0.7158 GB, free: 9.637 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.235, allocations: 0 / 0.7158 GB, free: 9.637 MB / 0.5608 GB Notification: Performance of FrontEnd: time 8.185e-06/0.235, allocations: 3.984 kB / 0.7159 GB, free: 9.633 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.0005087/0.2355, allocations: 0 / 0.7159 GB, free: 9.633 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.02674/0.2623, allocations: 10.57 MB / 0.7262 GB, free: 14.96 MB / 0.5764 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.2624, allocations: 8.031 kB / 0.7262 GB, free: 14.95 MB / 0.5764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06482/0.3272, allocations: 12.34 MB / 0.7382 GB, free: 2.578 MB / 0.5764 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02323/0.3505, allocations: 9.448 MB / 0.7475 GB, free: 9.055 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004388/0.3509, allocations: 386.5 kB / 0.7478 GB, free: 8.676 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002692/0.3537, allocations: 0.5424 MB / 0.7484 GB, free: 8.133 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03614/0.3898, allocations: 17.86 MB / 0.7658 GB, free: 5.289 MB / 0.6077 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004781/0.3903, allocations: 91.27 kB / 0.7659 GB, free: 5.199 MB / 0.6077 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00198/0.3923, allocations: 243.8 kB / 0.7661 GB, free: 4.961 MB / 0.6077 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00552/0.3979, allocations: 2.911 MB / 0.769 GB, free: 2.043 MB / 0.6077 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5244/0.9223, allocations: 16.33 MB / 0.7849 GB, free: 95.59 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06363/0.986, allocations: 66.1 MB / 0.8495 GB, free: 39.04 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01579/1.002, allocations: 8.304 MB / 0.8576 GB, free: 30.6 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005054/1.007, allocations: 5.599 MB / 0.863 GB, free: 24.99 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003762/1.007, allocations: 391.8 kB / 0.8634 GB, free: 24.57 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0144/1.022, allocations: 6.124 MB / 0.8694 GB, free: 18.41 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=337): time 7.965e-06/1.022, allocations: 4 kB / 0.8694 GB, free: 18.41 MB / 0.6079 GB Notification: Performance of matching and sorting (n=428): time 0.1722/1.194, allocations: 68.95 MB / 0.9367 GB, free: 13.48 MB / 0.6704 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000346/1.194, allocations: 428.4 kB / 0.9371 GB, free: 12.96 MB / 0.6704 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01358/1.208, allocations: 7.306 MB / 0.9443 GB, free: 5.656 MB / 0.6704 GB Notification: Performance of collectPreVariables (initialization): time 0.001102/1.209, allocations: 95.81 kB / 0.9444 GB, free: 5.559 MB / 0.6704 GB Notification: Performance of collectInitialEqns (initialization): time 0.004431/1.214, allocations: 4.615 MB / 0.9489 GB, free: 0.9258 MB / 0.6704 GB Notification: Performance of collectInitialBindings (initialization): time 0.002288/1.216, allocations: 1.592 MB / 0.9504 GB, free: 15.31 MB / 0.686 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005574/1.221, allocations: 1.958 MB / 0.9523 GB, free: 13.34 MB / 0.686 GB Notification: Performance of setup shared object (initialization): time 8.79e-05/1.222, allocations: 305.1 kB / 0.9526 GB, free: 13.04 MB / 0.686 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009113/1.231, allocations: 5.955 MB / 0.9585 GB, free: 7.074 MB / 0.686 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01273/1.243, allocations: 10.3 MB / 0.9685 GB, free: 10.7 MB / 0.7017 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02203/1.266, allocations: 17.04 MB / 0.9852 GB, free: 7.613 MB / 0.7173 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001494/1.266, allocations: 44 kB / 0.9852 GB, free: 7.57 MB / 0.7173 GB Notification: Performance of matching and sorting (n=1189) (initialization): time 0.0454/1.311, allocations: 23.15 MB / 1.008 GB, free: 380 kB / 0.7329 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001958/1.311, allocations: 89.7 kB / 1.008 GB, free: 284 kB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000231/1.312, allocations: 147.6 kB / 1.008 GB, free: 140 kB / 0.7329 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01818/1.33, allocations: 7.446 MB / 1.015 GB, free: 8.676 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007751/1.338, allocations: 2.203 MB / 1.017 GB, free: 6.469 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05276/1.39, allocations: 36.79 MB / 1.053 GB, free: 1.504 MB / 0.7798 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008981/1.399, allocations: 0.9204 MB / 1.054 GB, free: 0.582 MB / 0.7798 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002158/1.402, allocations: 491.9 kB / 1.055 GB, free: 104 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.009447/1.411, allocations: 4.202 MB / 1.059 GB, free: 11.89 MB / 0.7954 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002359/1.413, allocations: 0.6057 MB / 1.059 GB, free: 11.27 MB / 0.7954 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3584/1.772, allocations: 17.03 MB / 1.076 GB, free: 267.3 MB / 0.7954 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.63e-05/1.772, allocations: 21.58 kB / 1.076 GB, free: 267.3 MB / 0.7954 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/1.772, allocations: 5.125 kB / 1.076 GB, free: 267.3 MB / 0.7954 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005386/1.777, allocations: 1.722 MB / 1.078 GB, free: 267.2 MB / 0.7954 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001979/1.779, allocations: 78.16 kB / 1.078 GB, free: 267.2 MB / 0.7954 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004638/1.784, allocations: 0.6626 MB / 1.079 GB, free: 267.2 MB / 0.7954 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001081/1.785, allocations: 340.2 kB / 1.079 GB, free: 267.2 MB / 0.7954 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02941/1.815, allocations: 17.46 MB / 1.096 GB, free: 265.2 MB / 0.7954 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01791/1.833, allocations: 17.54 MB / 1.113 GB, free: 259.1 MB / 0.7954 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005014/1.838, allocations: 5.105 MB / 1.118 GB, free: 256.6 MB / 0.7954 GB Notification: Performance of sorting global known variables: time 0.005898/1.844, allocations: 4.807 MB / 1.123 GB, free: 252.4 MB / 0.7954 GB Notification: Performance of Backend: time 4.41e-07/1.844, allocations: 0 / 1.123 GB, free: 252.4 MB / 0.7954 GB Notification: Performance of simCode: created initialization part: time 0.01475/1.858, allocations: 9.851 MB / 1.132 GB, free: 242.7 MB / 0.7954 GB Notification: Performance of SimCode: time 0.02238/1.881, allocations: 18.56 MB / 1.15 GB, free: 224.4 MB / 0.7954 GB Notification: Performance of Templates: time 0.1501/2.031, allocations: 125.4 MB / 1.273 GB, free: 99.54 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