Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.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_2,tolerance=3e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2") translateModel(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2,tolerance=3e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000836/0.000836, allocations: 175.8 kB / 8.346 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.165/1.165, allocations: 221.5 MB / 230.3 MB, free: 7.559 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.0008195/0.0008195, allocations: 103.5 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.783/0.783, allocations: 120.4 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.385e-05/1.394e-05, allocations: 4 kB / 0.5288 GB, free: 1.312 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4628/0.4628, allocations: 82.85 MB / 0.6097 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6658/1.129, allocations: 146 MB / 0.7522 GB, free: 43.13 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/1.129, allocations: 79 kB / 0.7523 GB, free: 43.13 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.2071/1.336, allocations: 103.1 MB / 0.853 GB, free: 12.09 MB / 0.5578 GB Notification: Performance of FrontEnd: time 1.152e-06/1.336, allocations: 0 / 0.853 GB, free: 12.09 MB / 0.5578 GB Notification: Performance of Transformations before backend: time 0.0001812/1.336, allocations: 96 kB / 0.853 GB, free: 11.99 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: 1588 * Number of variables: 1588 Notification: Performance of Generate backend data structure: time 0.00924/1.346, allocations: 5.336 MB / 0.8583 GB, free: 6.973 MB / 0.5578 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/1.346, allocations: 12.03 kB / 0.8583 GB, free: 6.961 MB / 0.5578 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03145/1.377, allocations: 9.24 MB / 0.8673 GB, free: 14.66 MB / 0.5734 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01576/1.393, allocations: 7.712 MB / 0.8748 GB, free: 8.484 MB / 0.5734 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/1.393, allocations: 144 kB / 0.875 GB, free: 8.344 MB / 0.5734 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008504/1.394, allocations: 275.8 kB / 0.8752 GB, free: 8.078 MB / 0.5734 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008617/1.402, allocations: 6.92 MB / 0.882 GB, free: 3.387 MB / 0.5734 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01143/1.414, allocations: 10.2 MB / 0.8919 GB, free: 10.71 MB / 0.589 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001443/1.414, allocations: 67.38 kB / 0.892 GB, free: 10.64 MB / 0.589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004476/1.414, allocations: 28 kB / 0.892 GB, free: 10.62 MB / 0.589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001167/1.416, allocations: 1.029 MB / 0.893 GB, free: 9.738 MB / 0.589 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04199/1.458, allocations: 47.62 MB / 0.9395 GB, free: 15.44 MB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00383/1.462, allocations: 3.916 MB / 0.9434 GB, free: 12.52 MB / 0.6359 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002375/1.464, allocations: 2.585 MB / 0.9459 GB, free: 10.84 MB / 0.6359 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002804/1.464, allocations: 243.1 kB / 0.9461 GB, free: 10.57 MB / 0.6359 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/1.464, allocations: 55.64 kB / 0.9462 GB, free: 10.52 MB / 0.6359 GB Notification: Performance of pre-optimization done (n=196): time 4.338e-06/1.464, allocations: 3.938 kB / 0.9462 GB, free: 10.52 MB / 0.6359 GB Notification: Performance of matching and sorting (n=228): time 0.03895/1.503, allocations: 23.49 MB / 0.9691 GB, free: 7.258 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/1.503, allocations: 308.7 kB / 0.9694 GB, free: 6.887 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004421/1.508, allocations: 3.706 MB / 0.973 GB, free: 4.086 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.0001886/1.508, allocations: 29.7 kB / 0.9731 GB, free: 4.051 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.001836/1.51, allocations: 3.42 MB / 0.9764 GB, free: 1.352 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007209/1.511, allocations: 0.8271 MB / 0.9772 GB, free: 0.6328 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/1.511, allocations: 0 / 0.9772 GB, free: 0.6328 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0003102/1.511, allocations: 0.5658 MB / 0.9778 GB, free: 160 kB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002918/1.514, allocations: 2.562 MB / 0.9803 GB, free: 14.36 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004809/1.519, allocations: 6.109 MB / 0.9862 GB, free: 7.457 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004373/1.523, allocations: 3.965 MB / 0.9901 GB, free: 3.762 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.522e-05/1.523, allocations: 39.95 kB / 0.9901 GB, free: 3.723 MB / 0.6671 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01358/1.537, allocations: 9.578 MB / 0.9995 GB, free: 10.13 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 6.746e-05/1.537, allocations: 60 kB / 0.9996 GB, free: 10.07 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.365e-05/1.537, allocations: 128.1 kB / 0.9997 GB, free: 9.945 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0041/1.541, allocations: 1.897 MB / 1.002 GB, free: 8.043 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003784/1.545, allocations: 1.419 MB / 1.003 GB, free: 6.621 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.303/1.848, allocations: 10.67 MB / 1.013 GB, free: 184.8 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0044/1.852, allocations: 319.6 kB / 1.014 GB, free: 184.8 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006867/1.853, allocations: 366 kB / 1.014 GB, free: 184.8 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 567 * Number of states: 0 () * Number of discrete variables: 41 (force.arrow.arrowLine.twoHeadedArrow,force.arrow.headAtOrigin,force.color[3],force.color[2],force.color[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[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 (735): * Single equations (assignments): 731 * 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 {(5,80.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007187/1.854, allocations: 436.8 kB / 1.014 GB, free: 184.7 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005697/1.854, allocations: 398.8 kB / 1.015 GB, free: 184.7 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00828/1.863, allocations: 5.415 MB / 1.02 GB, free: 184.5 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.037e-05/1.863, allocations: 26.47 kB / 1.02 GB, free: 184.5 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/1.863, allocations: 11.53 kB / 1.02 GB, free: 184.5 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/1.863, allocations: 14.45 kB / 1.02 GB, free: 184.5 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/1.878, allocations: 11.38 MB / 1.031 GB, free: 183.7 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/1.878, allocations: 3.969 kB / 1.031 GB, free: 183.7 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/1.879, allocations: 364.9 kB / 1.032 GB, free: 183.7 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003348/1.883, allocations: 1.638 MB / 1.033 GB, free: 183.7 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001521/1.883, allocations: 14.66 kB / 1.033 GB, free: 183.7 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009999/1.893, allocations: 9.956 MB / 1.043 GB, free: 182.4 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/1.893, allocations: 13.45 kB / 1.043 GB, free: 182.4 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009546/1.902, allocations: 9.103 MB / 1.052 GB, free: 181.3 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008694/1.903, allocations: 442.5 kB / 1.052 GB, free: 181.1 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004464/1.904, allocations: 7.609 kB / 1.052 GB, free: 181.1 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/1.905, allocations: 179 kB / 1.052 GB, free: 181.1 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003094/1.906, allocations: 136.9 kB / 1.053 GB, free: 181.1 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/1.906, allocations: 67.58 kB / 1.053 GB, free: 181.1 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.002931/1.909, allocations: 2.565 MB / 1.055 GB, free: 180.6 MB / 0.6828 GB Notification: Performance of sort global known variables: time 2.41e-07/1.909, allocations: 0 / 1.055 GB, free: 180.6 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.004282/1.913, allocations: 1.09 MB / 1.056 GB, free: 180.6 MB / 0.6828 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (169): * Single equations (assignments): 165 * 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 {(4,87.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000378/1.914, allocations: 148.6 kB / 1.056 GB, free: 180.5 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.006845/1.92, allocations: 6.199 MB / 1.062 GB, free: 178.8 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.92, allocations: 3.969 kB / 1.062 GB, free: 178.8 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.002642/1.923, allocations: 2.412 MB / 1.065 GB, free: 177.9 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/1.926, allocations: 0.5397 MB / 1.065 GB, free: 177.7 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/1.938, allocations: 9.986 MB / 1.075 GB, free: 174.5 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003166/1.941, allocations: 4.046 MB / 1.079 GB, free: 173.1 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.004459/1.946, allocations: 2.274 MB / 1.081 GB, free: 173.1 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006719/1.947, allocations: 268.2 kB / 1.081 GB, free: 173.1 MB / 0.6828 GB Notification: Performance of SimCode: time 7.92e-07/1.947, allocations: 0 / 1.081 GB, free: 173.1 MB / 0.6828 GB Notification: Performance of Templates: time 0.05875/2.005, allocations: 46.02 MB / 1.126 GB, free: 142.5 MB / 0.6828 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches