Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.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.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_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_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 111.6 kB / 16.62 MB, free: 6.812 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.001248/0.001248, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.222/1.222, allocations: 222.9 MB / 241.2 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8994/0.8994, allocations: 119.3 MB / 410.7 MB, free: 9.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.89 kB / 0.4904 GB, free: 14.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.447/0.4483, allocations: 80.68 MB / 0.5692 GB, free: 43.48 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.03754/0.4859, allocations: 57.79 MB / 0.6257 GB, free: 7.832 MB / 478.3 MB Notification: Performance of NFInst.instExpressions: time 0.027/0.5129, allocations: 12 MB / 0.6374 GB, free: 11.79 MB / 494.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01091/0.5239, allocations: 259.3 kB / 0.6376 GB, free: 11.53 MB / 494.3 MB Notification: Performance of NFTyping.typeComponents: time 0.005213/0.5291, allocations: 2.961 MB / 0.6405 GB, free: 8.562 MB / 494.3 MB Notification: Performance of NFTyping.typeBindings: time 0.004548/0.5337, allocations: 2.001 MB / 0.6425 GB, free: 6.555 MB / 494.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.5354, allocations: 0.9322 MB / 0.6434 GB, free: 5.621 MB / 494.3 MB Notification: Performance of NFFlatten.flatten: time 0.007924/0.5433, allocations: 7.63 MB / 0.6508 GB, free: 13.98 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005081/0.5484, allocations: 5.113 MB / 0.6558 GB, free: 8.793 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002661/0.5511, allocations: 2.142 MB / 0.6579 GB, free: 6.645 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003577/0.5547, allocations: 3.104 MB / 0.661 GB, free: 3.531 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0006998/0.5554, allocations: 431.9 kB / 0.6614 GB, free: 3.109 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002042/0.5574, allocations: 1.326 MB / 0.6627 GB, free: 1.781 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001967/0.5594, allocations: 2.552 MB / 0.6652 GB, free: 15.22 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.002278/0.5617, allocations: 2.785 MB / 0.6679 GB, free: 12.42 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.00712/0.5688, allocations: 8.743 MB / 0.6764 GB, free: 3.652 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5688, allocations: 0 / 0.6764 GB, free: 3.652 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5688, allocations: 4 kB / 0.6764 GB, free: 3.648 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0001134/0.569, allocations: 0 / 0.6764 GB, free: 3.648 MB / 0.5139 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.01141/0.5804, allocations: 6.427 MB / 0.6827 GB, free: 13.14 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.5804, allocations: 11.89 kB / 0.6827 GB, free: 13.13 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03321/0.6137, allocations: 5.275 MB / 0.6879 GB, free: 7.84 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/0.624, allocations: 5.013 MB / 0.6928 GB, free: 2.746 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001953/0.6242, allocations: 267.2 kB / 0.693 GB, free: 2.484 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000992/0.6252, allocations: 367.8 kB / 0.6934 GB, free: 2.125 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01797/0.6432, allocations: 11.7 MB / 0.7048 GB, free: 5.711 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001301/0.6433, allocations: 63.5 kB / 0.7048 GB, free: 5.648 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004282/0.6438, allocations: 167.9 kB / 0.705 GB, free: 5.484 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003252/0.647, allocations: 2.076 MB / 0.707 GB, free: 3.395 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01691/0.664, allocations: 10.44 MB / 0.7172 GB, free: 8.945 MB / 0.5608 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5184/1.182, allocations: 43.41 MB / 0.7596 GB, free: 140.9 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009161/1.192, allocations: 4.754 MB / 0.7643 GB, free: 140.2 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003017/1.195, allocations: 2.9 MB / 0.7671 GB, free: 140.2 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01392/1.209, allocations: 10.29 MB / 0.7771 GB, free: 136.3 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/1.209, allocations: 56.19 kB / 0.7772 GB, free: 136.3 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=186): time 5.5e-06/1.209, allocations: 0 / 0.7772 GB, free: 136.3 MB / 0.5923 GB Notification: Performance of matching and sorting (n=218): time 0.05901/1.268, allocations: 28.21 MB / 0.8047 GB, free: 116.8 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.593e-05/1.268, allocations: 315.8 kB / 0.8051 GB, free: 116.5 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007088/1.275, allocations: 4.844 MB / 0.8098 GB, free: 111.6 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0005063/1.275, allocations: 53.7 kB / 0.8098 GB, free: 111.5 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.001672/1.277, allocations: 3.325 MB / 0.8131 GB, free: 108.2 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.000958/1.278, allocations: 0.8265 MB / 0.8139 GB, free: 107.4 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002526/1.281, allocations: 1.328 MB / 0.8152 GB, free: 106.1 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 4.187e-05/1.281, allocations: 305.1 kB / 0.8155 GB, free: 105.8 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00349/1.284, allocations: 3.006 MB / 0.8184 GB, free: 102.8 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004717/1.289, allocations: 6.533 MB / 0.8248 GB, free: 94.64 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008342/1.297, allocations: 10.09 MB / 0.8346 GB, free: 83.09 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001121/1.297, allocations: 32 kB / 0.8347 GB, free: 83.05 MB / 0.5923 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01652/1.314, allocations: 11.78 MB / 0.8462 GB, free: 71.27 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/1.314, allocations: 56.97 kB / 0.8462 GB, free: 71.21 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001477/1.314, allocations: 124 kB / 0.8464 GB, free: 71.09 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005228/1.319, allocations: 2.669 MB / 0.849 GB, free: 68.41 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00415/1.324, allocations: 1.536 MB / 0.8505 GB, free: 66.88 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01418/1.338, allocations: 14.13 MB / 0.8643 GB, free: 52.6 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005071/1.343, allocations: 487 kB / 0.8647 GB, free: 52.12 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001086/1.344, allocations: 367.9 kB / 0.8651 GB, free: 51.77 MB / 0.5923 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.00416/1.348, allocations: 2.613 MB / 0.8676 GB, free: 49.14 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009753/1.349, allocations: 406.8 kB / 0.868 GB, free: 48.74 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/1.359, allocations: 6.634 MB / 0.8745 GB, free: 42.09 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.272e-05/1.359, allocations: 24 kB / 0.8745 GB, free: 42.07 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-05/1.359, allocations: 8 kB / 0.8745 GB, free: 42.06 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.111e-05/1.359, allocations: 15.67 kB / 0.8745 GB, free: 42.05 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02026/1.38, allocations: 13.25 MB / 0.8875 GB, free: 28.7 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/1.38, allocations: 4 kB / 0.8875 GB, free: 28.7 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/1.381, allocations: 391.4 kB / 0.8879 GB, free: 28.32 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004852/1.386, allocations: 2.464 MB / 0.8903 GB, free: 25.85 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002317/1.386, allocations: 40 kB / 0.8903 GB, free: 25.81 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01319/1.4, allocations: 13.65 MB / 0.9036 GB, free: 12.02 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.4, allocations: 15.97 kB / 0.9036 GB, free: 12 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01237/1.412, allocations: 10.23 MB / 0.9136 GB, free: 1.715 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/1.413, allocations: 479.7 kB / 0.9141 GB, free: 1.223 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001082/1.414, allocations: 39.98 kB / 0.9141 GB, free: 1.184 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002374/1.417, allocations: 252 kB / 0.9144 GB, free: 0.9375 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005195/1.417, allocations: 141 kB / 0.9145 GB, free: 0.8008 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001987/1.417, allocations: 59.89 kB / 0.9146 GB, free: 0.7461 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.005195/1.423, allocations: 3.106 MB / 0.9176 GB, free: 13.64 MB / 0.6079 GB Notification: Performance of sort global known variables: time 6.81e-07/1.423, allocations: 0 / 0.9176 GB, free: 13.64 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.005726/1.428, allocations: 1.31 MB / 0.9189 GB, free: 12.34 MB / 0.6079 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.000594/1.429, allocations: 181.3 kB / 0.919 GB, free: 12.15 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.01356/1.443, allocations: 9.147 MB / 0.928 GB, free: 3.039 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.443, allocations: 0 / 0.928 GB, free: 3.039 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.003784/1.446, allocations: 2.671 MB / 0.9306 GB, free: 364 kB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004478/1.451, allocations: 0.6454 MB / 0.9312 GB, free: 15.71 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02257/1.473, allocations: 14.74 MB / 0.9456 GB, free: 0.9219 MB / 0.6235 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005685/1.479, allocations: 3.933 MB / 0.9495 GB, free: 12.96 MB / 0.6392 GB Notification: Performance of simCode: alias equations: time 0.005539/1.485, allocations: 2.195 MB / 0.9516 GB, free: 10.75 MB / 0.6392 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/1.486, allocations: 275.4 kB / 0.9519 GB, free: 10.48 MB / 0.6392 GB Notification: Performance of SimCode: time 6.01e-07/1.486, allocations: 0 / 0.9519 GB, free: 10.48 MB / 0.6392 GB Notification: Performance of Templates: time 0.09091/1.577, allocations: 58.13 MB / 1.009 GB, free: 0.668 MB / 0.686 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches