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.001271/0.001271, allocations: 181 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 89.95 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9563/0.9563, allocations: 120.5 MB / 463 MB, free: 8.703 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003125, allocations: 8 kB / 0.5433 GB, free: 42.46 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1527, allocations: 82.85 MB / 0.6243 GB, free: 9.215 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8163/0.969, allocations: 146.7 MB / 0.7675 GB, free: 3.48 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.9693, allocations: 79.47 kB / 0.7676 GB, free: 3.441 MB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.2528/1.222, allocations: 104.9 MB / 0.87 GB, free: 8.664 MB / 0.62 GB Notification: Performance of FrontEnd: time 2.294e-06/1.222, allocations: 0 / 0.87 GB, free: 8.664 MB / 0.62 GB Notification: Performance of Transformations before backend: time 0.0002654/1.223, allocations: 103.9 kB / 0.8701 GB, free: 8.562 MB / 0.62 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.0183/1.241, allocations: 5.903 MB / 0.8759 GB, free: 3.008 MB / 0.62 GB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/1.241, allocations: 8.031 kB / 0.8759 GB, free: 3 MB / 0.62 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03443/1.275, allocations: 9.227 MB / 0.8849 GB, free: 10.71 MB / 0.6357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02228/1.298, allocations: 7.748 MB / 0.8925 GB, free: 4.477 MB / 0.6357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004127/1.298, allocations: 344.5 kB / 0.8928 GB, free: 4.258 MB / 0.6357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002442/1.301, allocations: 470.9 kB / 0.8932 GB, free: 3.926 MB / 0.6357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02515/1.326, allocations: 11.74 MB / 0.9047 GB, free: 10.07 MB / 0.6513 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000294/1.326, allocations: 70 kB / 0.9048 GB, free: 10 MB / 0.6513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001177/1.327, allocations: 221.8 kB / 0.905 GB, free: 9.906 MB / 0.6513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001459/1.329, allocations: 1.03 MB / 0.906 GB, free: 9.023 MB / 0.6513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01948/1.348, allocations: 9.98 MB / 0.9157 GB, free: 1.594 MB / 0.6513 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6962/2.045, allocations: 48.86 MB / 0.9635 GB, free: 155.8 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/2.055, allocations: 4.817 MB / 0.9682 GB, free: 155.1 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01724/2.073, allocations: 9.796 MB / 0.9777 GB, free: 154 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/2.073, allocations: 59.8 kB / 0.9778 GB, free: 154 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=186): time 3.917e-06/2.073, allocations: 0 / 0.9778 GB, free: 154 MB / 0.6828 GB Notification: Performance of matching and sorting (n=217): time 0.04981/2.123, allocations: 25.8 MB / 1.003 GB, free: 150.3 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.422e-05/2.123, allocations: 307.1 kB / 1.003 GB, free: 149.9 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005322/2.128, allocations: 4.234 MB / 1.007 GB, free: 149.6 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0002961/2.128, allocations: 58.3 kB / 1.007 GB, free: 149.5 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.001755/2.13, allocations: 3.419 MB / 1.011 GB, free: 148.1 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007016/2.131, allocations: 0.8242 MB / 1.012 GB, free: 147.6 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/2.131, allocations: 119.5 kB / 1.012 GB, free: 147.6 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0002428/2.131, allocations: 0.5572 MB / 1.012 GB, free: 147.3 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002792/2.134, allocations: 2.619 MB / 1.015 GB, free: 147.2 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004092/2.138, allocations: 6.07 MB / 1.021 GB, free: 142.6 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004149/2.142, allocations: 3.964 MB / 1.025 GB, free: 141.4 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.8e-05/2.142, allocations: 35 kB / 1.025 GB, free: 141.4 MB / 0.6828 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01366/2.156, allocations: 10.14 MB / 1.035 GB, free: 138.8 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 7.282e-05/2.156, allocations: 60.02 kB / 1.035 GB, free: 138.8 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.9e-05/2.156, allocations: 120.2 kB / 1.035 GB, free: 138.8 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003819/2.16, allocations: 1.859 MB / 1.037 GB, free: 138.6 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003639/2.164, allocations: 1.366 MB / 1.038 GB, free: 138.4 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01216/2.176, allocations: 11.51 MB / 1.049 GB, free: 133.9 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006488/2.182, allocations: 426.3 kB / 1.05 GB, free: 133.8 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/2.184, allocations: 356.9 kB / 1.05 GB, free: 133.8 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 549 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (706): * Single equations (assignments): 702 * 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 {(3,88.9%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004531/2.188, allocations: 2.596 MB / 1.052 GB, free: 132.7 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008247/2.189, allocations: 416.4 kB / 1.053 GB, free: 132.5 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008117/2.197, allocations: 5.451 MB / 1.058 GB, free: 129.3 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-05/2.197, allocations: 21.02 kB / 1.058 GB, free: 129.2 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/2.197, allocations: 8 kB / 1.058 GB, free: 129.2 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-05/2.197, allocations: 13.98 kB / 1.058 GB, free: 129.2 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02172/2.219, allocations: 11.95 MB / 1.07 GB, free: 119.8 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/2.219, allocations: 4 kB / 1.07 GB, free: 119.8 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/2.22, allocations: 344.1 kB / 1.07 GB, free: 119.5 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003641/2.224, allocations: 1.67 MB / 1.072 GB, free: 118.4 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002425/2.224, allocations: 42.62 kB / 1.072 GB, free: 118.3 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01234/2.237, allocations: 11.13 MB / 1.083 GB, free: 109.3 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/2.237, allocations: 7.5 kB / 1.083 GB, free: 109.3 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/2.248, allocations: 9.085 MB / 1.092 GB, free: 101.5 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001635/2.25, allocations: 467.6 kB / 1.092 GB, free: 101 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001181/2.251, allocations: 47.56 kB / 1.092 GB, free: 101 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002312/2.254, allocations: 203 kB / 1.092 GB, free: 100.8 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004073/2.254, allocations: 130 kB / 1.092 GB, free: 100.7 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/2.254, allocations: 56 kB / 1.092 GB, free: 100.6 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.00589/2.26, allocations: 3.058 MB / 1.095 GB, free: 97.56 MB / 0.6828 GB Notification: Performance of sort global known variables: time 2.61e-07/2.26, allocations: 0 / 1.095 GB, free: 97.56 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.0064/2.266, allocations: 1.221 MB / 1.097 GB, free: 96.35 MB / 0.6828 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 154 * 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.0006003/2.267, allocations: 190.5 kB / 1.097 GB, free: 96.17 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.008329/2.275, allocations: 6.331 MB / 1.103 GB, free: 89.88 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/2.275, allocations: 4 kB / 1.103 GB, free: 89.88 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.003262/2.279, allocations: 2.48 MB / 1.105 GB, free: 87.39 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003575/2.282, allocations: 0.611 MB / 1.106 GB, free: 86.81 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02252/2.305, allocations: 13.79 MB / 1.119 GB, free: 73.13 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00437/2.309, allocations: 4.034 MB / 1.123 GB, free: 69.09 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.004879/2.314, allocations: 2.199 MB / 1.126 GB, free: 66.9 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008472/2.315, allocations: 271.4 kB / 1.126 GB, free: 66.64 MB / 0.6828 GB Notification: Performance of SimCode: time 1.483e-06/2.315, allocations: 4 kB / 1.126 GB, free: 66.63 MB / 0.6828 GB Notification: Performance of Templates: time 0.07842/2.393, allocations: 50.65 MB / 1.175 GB, free: 17.04 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