Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4,tolerance=3e-08,outputFormat="mat",numberOfIntervals=3998,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.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4") translateModel(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4,tolerance=3e-08,outputFormat="mat",numberOfIntervals=3998,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.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009122/0.0009121, allocations: 175.7 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.172/1.172, allocations: 221.5 MB / 230.3 MB, free: 7.512 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008978/0.0008977, allocations: 92.44 kB / 281.2 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8811/0.8811, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.308e-05/1.31e-05, allocations: 4 kB / 0.5288 GB, free: 1.293 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4944/0.4945, allocations: 82.84 MB / 0.6097 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7064/1.201, allocations: 146 MB / 0.7522 GB, free: 135.2 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/1.201, allocations: 77.86 kB / 0.7523 GB, free: 135.2 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.2941/1.495, allocations: 144.2 MB / 0.8931 GB, free: 12.1 MB / 0.5578 GB Notification: Performance of FrontEnd: time 1.453e-06/1.495, allocations: 7.938 kB / 0.8931 GB, free: 12.09 MB / 0.5578 GB Notification: Performance of Transformations before backend: time 0.000437/1.496, allocations: 140 kB / 0.8932 GB, free: 11.96 MB / 0.5578 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2204 * Number of variables: 2204 Notification: Performance of Generate backend data structure: time 0.02043/1.516, allocations: 8.258 MB / 0.9013 GB, free: 3.617 MB / 0.5578 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.516, allocations: 12.03 kB / 0.9013 GB, free: 3.605 MB / 0.5578 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05216/1.568, allocations: 14.58 MB / 0.9156 GB, free: 4.984 MB / 0.5734 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02419/1.593, allocations: 11.86 MB / 0.9271 GB, free: 9.043 MB / 0.589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002781/1.593, allocations: 208 kB / 0.9273 GB, free: 8.84 MB / 0.589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001963/1.595, allocations: 403.7 kB / 0.9277 GB, free: 8.445 MB / 0.589 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01561/1.611, allocations: 10.18 MB / 0.9377 GB, free: 14.25 MB / 0.6046 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02075/1.631, allocations: 14.51 MB / 0.9518 GB, free: 14.57 MB / 0.6203 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003193/1.632, allocations: 107.1 kB / 0.9519 GB, free: 14.47 MB / 0.6203 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001053/1.633, allocations: 35.95 kB / 0.952 GB, free: 14.43 MB / 0.6203 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001807/1.635, allocations: 1.429 MB / 0.9534 GB, free: 13 MB / 0.6203 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3625/1.997, allocations: 66.59 MB / 1.018 GB, free: 113.5 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006358/2.003, allocations: 6.756 MB / 1.025 GB, free: 112.8 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00413/2.008, allocations: 5.002 MB / 1.03 GB, free: 112.8 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003034/2.008, allocations: 257.2 kB / 1.03 GB, free: 112.6 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/2.008, allocations: 77.92 kB / 1.03 GB, free: 112.5 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=328): time 4.669e-06/2.008, allocations: 0 / 1.03 GB, free: 112.5 MB / 0.6515 GB Notification: Performance of matching and sorting (n=412): time 0.08085/2.089, allocations: 50.4 MB / 1.079 GB, free: 106.4 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.564e-05/2.089, allocations: 428.6 kB / 1.08 GB, free: 105.9 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006687/2.096, allocations: 5.2 MB / 1.085 GB, free: 104.2 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.0004617/2.096, allocations: 25.7 kB / 1.085 GB, free: 104.2 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.00203/2.098, allocations: 4.593 MB / 1.089 GB, free: 101.3 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.001227/2.099, allocations: 1.441 MB / 1.091 GB, free: 100.2 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005049/2.1, allocations: 0 / 1.091 GB, free: 100.2 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0003738/2.1, allocations: 0.6685 MB / 1.091 GB, free: 99.71 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005062/2.105, allocations: 4.907 MB / 1.096 GB, free: 98.26 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006046/2.111, allocations: 9.15 MB / 1.105 GB, free: 89.06 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006358/2.118, allocations: 6.791 MB / 1.112 GB, free: 83.85 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.771e-05/2.118, allocations: 40 kB / 1.112 GB, free: 83.81 MB / 0.6515 GB Notification: Performance of matching and sorting (n=1085) (initialization): time 0.02391/2.142, allocations: 18.01 MB / 1.129 GB, free: 70.18 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-05/2.142, allocations: 68 kB / 1.13 GB, free: 70.11 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00016/2.142, allocations: 147.7 kB / 1.13 GB, free: 69.97 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/2.153, allocations: 5.287 MB / 1.135 GB, free: 66.39 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005521/2.158, allocations: 1.935 MB / 1.137 GB, free: 64.77 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0277/2.186, allocations: 26.79 MB / 1.163 GB, free: 42.52 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006107/2.192, allocations: 0.5924 MB / 1.163 GB, free: 41.93 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001038/2.193, allocations: 472.8 kB / 1.164 GB, free: 41.47 MB / 0.6515 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 663 * Number of states: 0 () * Number of discrete variables: 59 (force.arrow.arrowLine.twoHeadedArrow,force.arrow.headAtOrigin,force.color[3],force.color[2],force.color[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],bodyboxN.color[3],bodyboxN.color[2],bodyboxN.color[1],bodyboxN.body.sphereColor[3],bodyboxN.body.sphereColor[2],bodyboxN.body.sphereColor[1],bodybox1.color[3],bodybox1.color[2],bodybox1.color[1],bodybox1.body.sphereColor[3],bodybox1.body.sphereColor[2],bodybox1.body.sphereColor[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.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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (959): * Single equations (assignments): 955 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,71.0%) 93} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001516/2.195, allocations: 0.5078 MB / 1.164 GB, free: 40.96 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009873/2.196, allocations: 0.5691 MB / 1.165 GB, free: 40.38 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0195/2.215, allocations: 13.52 MB / 1.178 GB, free: 26.83 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.664e-05/2.215, allocations: 46.81 kB / 1.178 GB, free: 26.79 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.193e-05/2.215, allocations: 16 kB / 1.178 GB, free: 26.77 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.099e-05/2.215, allocations: 23.92 kB / 1.178 GB, free: 26.75 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03402/2.249, allocations: 25.37 MB / 1.203 GB, free: 1.27 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/2.249, allocations: 4 kB / 1.203 GB, free: 1.266 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002556/2.252, allocations: 0.6786 MB / 1.204 GB, free: 0.5898 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01111/2.263, allocations: 5.018 MB / 1.209 GB, free: 11.59 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004326/2.263, allocations: 19.98 kB / 1.209 GB, free: 11.57 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03449/2.298, allocations: 26.01 MB / 1.234 GB, free: 1.48 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/2.298, allocations: 11.78 kB / 1.234 GB, free: 1.473 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02967/2.328, allocations: 20.76 MB / 1.254 GB, free: 12.43 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/2.329, allocations: 0.5997 MB / 1.255 GB, free: 11.81 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001189/2.33, allocations: 17.08 kB / 1.255 GB, free: 11.79 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003671/2.334, allocations: 445.6 kB / 1.255 GB, free: 11.36 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007259/2.335, allocations: 270.2 kB / 1.256 GB, free: 11.1 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003265/2.335, allocations: 104 kB / 1.256 GB, free: 11 MB / 0.714 GB Notification: Performance of sorting global known variables: time 0.006005/2.341, allocations: 3.691 MB / 1.259 GB, free: 7.309 MB / 0.714 GB Notification: Performance of sort global known variables: time 1.9e-07/2.341, allocations: 0 / 1.259 GB, free: 7.309 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.007303/2.348, allocations: 1.817 MB / 1.261 GB, free: 5.496 MB / 0.714 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w,revolute[3].phi,revolute[3].w,revolute[4].phi,revolute[4].w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (297): * Single equations (assignments): 293 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(11,68.6%) 89} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000631/2.349, allocations: 185.7 kB / 1.261 GB, free: 5.32 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.2975/2.647, allocations: 12.01 MB / 1.273 GB, free: 196.5 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/2.647, allocations: 3.438 kB / 1.273 GB, free: 196.5 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.007064/2.654, allocations: 5.762 MB / 1.279 GB, free: 196.2 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004356/2.658, allocations: 0.8391 MB / 1.279 GB, free: 196.2 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02138/2.68, allocations: 17.36 MB / 1.296 GB, free: 193.7 MB / 0.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004983/2.685, allocations: 5.782 MB / 1.302 GB, free: 192.8 MB / 0.714 GB Notification: Performance of simCode: alias equations: time 0.006885/2.691, allocations: 3.654 MB / 1.306 GB, free: 192.7 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/2.693, allocations: 387.6 kB / 1.306 GB, free: 192.7 MB / 0.714 GB Notification: Performance of SimCode: time 7.42e-07/2.693, allocations: 2.312 kB / 1.306 GB, free: 192.7 MB / 0.714 GB Notification: Performance of Templates: time 0.1075/2.8, allocations: 89.42 MB / 1.393 GB, free: 151.3 MB / 0.714 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches