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.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.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.001275/0.00128, allocations: 190.4 kB / 17.27 MB, free: 4.477 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.247/1.247, allocations: 222.9 MB / 240.9 MB, free: 10.99 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.001057/0.001057, allocations: 106.8 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.7463/0.7463, allocations: 119.3 MB / 460.6 MB, free: 9.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009627/0.0009628, allocations: 43.92 kB / 0.5391 GB, free: 43.23 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.126, allocations: 80.69 MB / 0.6179 GB, free: 12.73 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.05024/0.1763, allocations: 57.81 MB / 0.6744 GB, free: 2.688 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02577/0.2021, allocations: 12.09 MB / 0.6862 GB, free: 6.551 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01175/0.2139, allocations: 251.4 kB / 0.6864 GB, free: 6.305 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.00624/0.2202, allocations: 3.074 MB / 0.6894 GB, free: 3.223 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.005408/0.2257, allocations: 2.024 MB / 0.6914 GB, free: 1.191 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.228, allocations: 0.8933 MB / 0.6923 GB, free: 304 kB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.5135/0.7415, allocations: 9.884 MB / 0.7019 GB, free: 11.27 MB / 0.495 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005902/0.7475, allocations: 4.674 MB / 0.7065 GB, free: 10.64 MB / 0.495 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002891/0.7504, allocations: 1.82 MB / 0.7083 GB, free: 10.64 MB / 0.495 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003537/0.7539, allocations: 2.944 MB / 0.7111 GB, free: 10.54 MB / 0.495 GB Notification: Performance of NFPackage.collectConstants: time 0.0005891/0.7545, allocations: 290.1 kB / 0.7114 GB, free: 10.53 MB / 0.495 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00229/0.7568, allocations: 1.24 MB / 0.7126 GB, free: 10.53 MB / 0.495 GB Notification: Performance of NFScalarize.scalarize: time 0.002408/0.7593, allocations: 2.387 MB / 0.715 GB, free: 10.3 MB / 0.495 GB Notification: Performance of NFVerifyModel.verify: time 0.00225/0.7615, allocations: 2.599 MB / 0.7175 GB, free: 9.383 MB / 0.495 GB Notification: Performance of NFConvertDAE.convert: time 0.006961/0.7685, allocations: 8.558 MB / 0.7259 GB, free: 6.508 MB / 0.495 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.7685, allocations: 2.719 kB / 0.7259 GB, free: 6.508 MB / 0.495 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7685, allocations: 0 / 0.7259 GB, free: 6.508 MB / 0.495 GB Notification: Performance of Transformations before backend: time 0.0001518/0.7687, allocations: 0 / 0.7259 GB, free: 6.508 MB / 0.495 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.01227/0.781, allocations: 6.438 MB / 0.7321 GB, free: 18.38 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.781, allocations: 7.094 kB / 0.7321 GB, free: 18.38 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03492/0.8159, allocations: 5.276 MB / 0.7373 GB, free: 15.95 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01265/0.8286, allocations: 5.01 MB / 0.7422 GB, free: 11.63 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/0.8289, allocations: 270.2 kB / 0.7424 GB, free: 11.4 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001112/0.83, allocations: 364.5 kB / 0.7428 GB, free: 11.08 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01995/0.8499, allocations: 11.71 MB / 0.7542 GB, free: 14.84 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001631/0.8502, allocations: 55.3 kB / 0.7543 GB, free: 14.81 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004597/0.8506, allocations: 168.3 kB / 0.7544 GB, free: 14.68 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003448/0.8541, allocations: 2.089 MB / 0.7565 GB, free: 12.61 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01972/0.8738, allocations: 10.44 MB / 0.7667 GB, free: 2.336 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0572/0.9311, allocations: 43.42 MB / 0.8091 GB, free: 6.203 MB / 0.5732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009545/0.9407, allocations: 4.749 MB / 0.8137 GB, free: 1.309 MB / 0.5732 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003322/0.944, allocations: 2.903 MB / 0.8166 GB, free: 14.4 MB / 0.5888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.016/0.96, allocations: 10.28 MB / 0.8266 GB, free: 4.074 MB / 0.5888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/0.9601, allocations: 58.97 kB / 0.8267 GB, free: 4.012 MB / 0.5888 GB Notification: Performance of pre-optimization done (n=186): time 4.108e-06/0.9601, allocations: 0 / 0.8267 GB, free: 4.012 MB / 0.5888 GB Notification: Performance of matching and sorting (n=218): time 0.06547/1.026, allocations: 28.19 MB / 0.8542 GB, free: 7.781 MB / 0.62 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001572/1.026, allocations: 311.1 kB / 0.8545 GB, free: 7.41 MB / 0.62 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007228/1.033, allocations: 4.84 MB / 0.8592 GB, free: 2.555 MB / 0.62 GB Notification: Performance of collectPreVariables (initialization): time 0.0005724/1.034, allocations: 57.7 kB / 0.8593 GB, free: 2.492 MB / 0.62 GB Notification: Performance of collectInitialEqns (initialization): time 0.002495/1.036, allocations: 3.327 MB / 0.8625 GB, free: 15.16 MB / 0.6357 GB Notification: Performance of collectInitialBindings (initialization): time 0.001191/1.037, allocations: 0.8264 MB / 0.8633 GB, free: 14.34 MB / 0.6357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001908/1.039, allocations: 1.332 MB / 0.8646 GB, free: 13 MB / 0.6357 GB Notification: Performance of setup shared object (initialization): time 9.397e-05/1.039, allocations: 309.1 kB / 0.8649 GB, free: 12.7 MB / 0.6357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004142/1.044, allocations: 2.999 MB / 0.8678 GB, free: 9.691 MB / 0.6357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007178/1.051, allocations: 6.526 MB / 0.8742 GB, free: 1.492 MB / 0.6357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0124/1.063, allocations: 10.1 MB / 0.8841 GB, free: 6.207 MB / 0.6513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.638e-05/1.063, allocations: 36 kB / 0.8841 GB, free: 6.172 MB / 0.6513 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01994/1.083, allocations: 11.77 MB / 0.8956 GB, free: 11.13 MB / 0.6669 GB Notification: Performance of prepare postOptimizeDAE: time 7.659e-05/1.083, allocations: 62.81 kB / 0.8957 GB, free: 11.07 MB / 0.6669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001436/1.083, allocations: 124 kB / 0.8958 GB, free: 10.95 MB / 0.6669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006268/1.09, allocations: 2.665 MB / 0.8984 GB, free: 8.277 MB / 0.6669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004675/1.094, allocations: 1.533 MB / 0.8999 GB, free: 6.863 MB / 0.6669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01688/1.111, allocations: 13.26 MB / 0.9128 GB, free: 9.527 MB / 0.6825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005024/1.116, allocations: 475.2 kB / 0.9133 GB, free: 9.062 MB / 0.6825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008105/1.117, allocations: 371.9 kB / 0.9137 GB, free: 8.699 MB / 0.6825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * 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 (762): * Single equations (assignments): 758 * Array equations: 3 * Algorithm blocks: 0 * 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 {(4,39,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004305/1.122, allocations: 2.616 MB / 0.9162 GB, free: 6.195 MB / 0.6825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008355/1.122, allocations: 410.8 kB / 0.9166 GB, free: 5.789 MB / 0.6825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0118/1.134, allocations: 6.627 MB / 0.9231 GB, free: 15.17 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.388e-05/1.134, allocations: 24 kB / 0.9231 GB, free: 15.14 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/1.134, allocations: 8 kB / 0.9231 GB, free: 15.14 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.789e-05/1.134, allocations: 7.969 kB / 0.9231 GB, free: 15.13 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0233/1.158, allocations: 13.27 MB / 0.9361 GB, free: 1.824 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/1.158, allocations: 4 kB / 0.9361 GB, free: 1.82 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/1.159, allocations: 395.5 kB / 0.9364 GB, free: 1.449 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006063/1.165, allocations: 2.456 MB / 0.9388 GB, free: 14.99 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002317/1.166, allocations: 45.2 kB / 0.9389 GB, free: 14.95 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0169/1.183, allocations: 12.78 MB / 0.9514 GB, free: 2.035 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/1.183, allocations: 6.812 kB / 0.9514 GB, free: 2.031 MB / 0.7138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5821/1.765, allocations: 75.44 MB / 1.025 GB, free: 230.7 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/1.766, allocations: 488.4 kB / 1.026 GB, free: 230.2 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001191/1.767, allocations: 39.91 kB / 1.026 GB, free: 230.2 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002597/1.77, allocations: 255.6 kB / 1.026 GB, free: 229.9 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006254/1.771, allocations: 140.5 kB / 1.026 GB, free: 229.8 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002458/1.771, allocations: 60 kB / 1.026 GB, free: 229.7 MB / 0.714 GB Notification: Performance of sorting global known variables: time 0.003916/1.775, allocations: 3.102 MB / 1.029 GB, free: 226.6 MB / 0.714 GB Notification: Performance of sort global known variables: time 1.9e-07/1.775, allocations: 0 / 1.029 GB, free: 226.6 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.006152/1.781, allocations: 1.784 MB / 1.031 GB, free: 224.8 MB / 0.714 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 (159): * Single equations (assignments): 155 * Array equations: 3 * Algorithm blocks: 0 * 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 {(3,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00044/1.781, allocations: 189 kB / 1.031 GB, free: 224.7 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.008951/1.79, allocations: 7.097 MB / 1.038 GB, free: 217.6 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.79, allocations: 0 / 1.038 GB, free: 217.6 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.003261/1.794, allocations: 2.672 MB / 1.04 GB, free: 214.9 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004482/1.798, allocations: 0.6008 MB / 1.041 GB, free: 214.4 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02437/1.822, allocations: 16.7 MB / 1.057 GB, free: 197.8 MB / 0.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006777/1.829, allocations: 4.02 MB / 1.061 GB, free: 193.7 MB / 0.714 GB Notification: Performance of simCode: alias equations: time 0.006028/1.835, allocations: 2.238 MB / 1.063 GB, free: 191.5 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001654/1.837, allocations: 283.4 kB / 1.064 GB, free: 191.2 MB / 0.714 GB Notification: Performance of SimCode: time 1.062e-06/1.837, allocations: 0 / 1.064 GB, free: 191.2 MB / 0.714 GB Notification: Performance of Templates: time 0.1045/1.942, allocations: 74.89 MB / 1.137 GB, free: 116.6 MB / 0.714 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@2/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