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.001598/0.001598, allocations: 111.3 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.0016/0.0016, 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.417/1.417, 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 1.104/1.104, allocations: 119.3 MB / 411.9 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.22 kB / 0.5717 GB, free: 39.73 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1768, allocations: 80.7 MB / 0.6505 GB, free: 12.99 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4): time 0.01007/0.1869, allocations: 9.232 MB / 0.6595 GB, free: 3.715 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.007749/0.1947, allocations: 3.625 MB / 0.663 GB, free: 80 kB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001829/0.1966, allocations: 55.81 kB / 0.6631 GB, free: 24 kB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.002996/0.1996, allocations: 1.565 MB / 0.6646 GB, free: 14.45 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.004029/0.2036, allocations: 1.568 MB / 0.6661 GB, free: 12.88 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.2051, allocations: 0.6082 MB / 0.6667 GB, free: 12.27 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.01248/0.2176, allocations: 11.17 MB / 0.6776 GB, free: 1.082 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009425/0.2271, allocations: 8.057 MB / 0.6855 GB, free: 8.934 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006976/0.2341, allocations: 3.295 MB / 0.6887 GB, free: 5.629 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008813/0.243, allocations: 4.37 MB / 0.693 GB, free: 1.246 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.00214/0.2451, allocations: 0.625 MB / 0.6936 GB, free: 0.6211 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004025/0.2492, allocations: 1.526 MB / 0.6951 GB, free: 15.09 MB / 0.5452 GB Notification: Performance of NFScalarize.scalarize: time 0.004599/0.2538, allocations: 3.799 MB / 0.6988 GB, free: 11.29 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.007017/0.2608, allocations: 4.122 MB / 0.7028 GB, free: 7.141 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.01518/0.276, allocations: 13.3 MB / 0.7158 GB, free: 9.801 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.2761, allocations: 0 / 0.7158 GB, free: 9.801 MB / 0.5608 GB Notification: Performance of FrontEnd: time 2.765e-06/0.2761, allocations: 0 / 0.7158 GB, free: 9.801 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.0004664/0.2766, allocations: 4 kB / 0.7158 GB, free: 9.797 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.02797/0.3045, allocations: 10.57 MB / 0.7261 GB, free: 15.12 MB / 0.5764 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.3046, allocations: 23.77 kB / 0.7262 GB, free: 15.1 MB / 0.5764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0649/0.3695, allocations: 12.33 MB / 0.7382 GB, free: 2.734 MB / 0.5764 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02385/0.3934, allocations: 9.433 MB / 0.7474 GB, free: 9.227 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004541/0.3939, allocations: 394.4 kB / 0.7478 GB, free: 8.84 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00274/0.3967, allocations: 0.5424 MB / 0.7483 GB, free: 8.297 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03411/0.4308, allocations: 17.86 MB / 0.7658 GB, free: 5.453 MB / 0.6077 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000366/0.4312, allocations: 99.27 kB / 0.7659 GB, free: 5.355 MB / 0.6077 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001092/0.4323, allocations: 243.8 kB / 0.7661 GB, free: 5.117 MB / 0.6077 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005122/0.4374, allocations: 2.911 MB / 0.7689 GB, free: 2.199 MB / 0.6077 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.723/1.16, allocations: 16.33 MB / 0.7849 GB, free: 95.64 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06979/1.23, allocations: 66.1 MB / 0.8494 GB, free: 39.33 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01697/1.247, allocations: 8.313 MB / 0.8576 GB, free: 30.88 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005711/1.253, allocations: 5.591 MB / 0.863 GB, free: 25.29 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005037/1.254, allocations: 390.2 kB / 0.8634 GB, free: 24.86 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01474/1.268, allocations: 6.124 MB / 0.8694 GB, free: 18.7 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=337): time 1.346e-05/1.268, allocations: 0 / 0.8694 GB, free: 18.7 MB / 0.6079 GB Notification: Performance of matching and sorting (n=428): time 0.181/1.449, allocations: 68.95 MB / 0.9367 GB, free: 13.79 MB / 0.6704 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002241/1.45, allocations: 436.4 kB / 0.9371 GB, free: 13.27 MB / 0.6704 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01211/1.462, allocations: 7.302 MB / 0.9443 GB, free: 5.969 MB / 0.6704 GB Notification: Performance of collectPreVariables (initialization): time 0.001199/1.463, allocations: 96.91 kB / 0.9443 GB, free: 5.871 MB / 0.6704 GB Notification: Performance of collectInitialEqns (initialization): time 0.004273/1.467, allocations: 4.62 MB / 0.9489 GB, free: 1.219 MB / 0.6704 GB Notification: Performance of collectInitialBindings (initialization): time 0.002264/1.47, allocations: 1.584 MB / 0.9504 GB, free: 15.61 MB / 0.686 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003003/1.473, allocations: 1.962 MB / 0.9523 GB, free: 13.64 MB / 0.686 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.473, allocations: 301.1 kB / 0.9526 GB, free: 13.34 MB / 0.686 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008268/1.481, allocations: 5.955 MB / 0.9584 GB, free: 7.375 MB / 0.686 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01185/1.493, allocations: 10.32 MB / 0.9685 GB, free: 10.99 MB / 0.7017 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02319/1.516, allocations: 17.03 MB / 0.9851 GB, free: 7.902 MB / 0.7173 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001781/1.516, allocations: 40 kB / 0.9852 GB, free: 7.863 MB / 0.7173 GB Notification: Performance of matching and sorting (n=1189) (initialization): time 0.04962/1.566, allocations: 23.16 MB / 1.008 GB, free: 0.6641 MB / 0.7329 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003446/1.566, allocations: 93.7 kB / 1.008 GB, free: 0.5664 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003786/1.567, allocations: 147.9 kB / 1.008 GB, free: 432 kB / 0.7329 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01949/1.586, allocations: 7.442 MB / 1.015 GB, free: 8.965 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008268/1.595, allocations: 2.2 MB / 1.017 GB, free: 6.762 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05544/1.65, allocations: 36.8 MB / 1.053 GB, free: 1.785 MB / 0.7798 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01014/1.66, allocations: 0.9164 MB / 1.054 GB, free: 0.8672 MB / 0.7798 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002608/1.663, allocations: 496 kB / 1.055 GB, free: 392 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.01053/1.673, allocations: 4.198 MB / 1.059 GB, free: 12.17 MB / 0.7954 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002398/1.676, allocations: 0.6018 MB / 1.059 GB, free: 11.56 MB / 0.7954 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4505/2.126, allocations: 17.04 MB / 1.076 GB, free: 267.7 MB / 0.7954 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000108/2.126, allocations: 20.28 kB / 1.076 GB, free: 267.7 MB / 0.7954 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/2.126, allocations: 2.719 kB / 1.076 GB, free: 267.7 MB / 0.7954 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004823/2.131, allocations: 1.722 MB / 1.078 GB, free: 267.6 MB / 0.7954 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002353/2.134, allocations: 79.73 kB / 1.078 GB, free: 267.6 MB / 0.7954 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005389/2.139, allocations: 0.6611 MB / 1.078 GB, free: 267.6 MB / 0.7954 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001541/2.141, allocations: 342.4 kB / 1.079 GB, free: 267.6 MB / 0.7954 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03269/2.173, allocations: 17.45 MB / 1.096 GB, free: 265.3 MB / 0.7954 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02142/2.195, allocations: 17.54 MB / 1.113 GB, free: 259.4 MB / 0.7954 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006198/2.201, allocations: 5.112 MB / 1.118 GB, free: 256.8 MB / 0.7954 GB Notification: Performance of sorting global known variables: time 0.007266/2.208, allocations: 4.803 MB / 1.123 GB, free: 252.8 MB / 0.7954 GB Notification: Performance of Backend: time 1.203e-06/2.208, allocations: 0 / 1.123 GB, free: 252.8 MB / 0.7954 GB Notification: Performance of simCode: created initialization part: time 0.01826/2.227, allocations: 9.858 MB / 1.132 GB, free: 243.1 MB / 0.7954 GB Notification: Performance of SimCode: time 0.02958/2.256, allocations: 18.54 MB / 1.15 GB, free: 224.8 MB / 0.7954 GB Notification: Performance of Templates: time 0.1603/2.417, allocations: 125.4 MB / 1.273 GB, free: 99.98 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