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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001223, allocations: 188.9 kB / 17.27 MB, free: 4.504 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.218/1.218, allocations: 222.9 MB / 240.9 MB, free: 10.96 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.001045/0.001045, allocations: 112.5 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.8207/0.8207, allocations: 119.3 MB / 460.6 MB, free: 9.555 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009405/0.0009405, allocations: 47.92 kB / 0.5391 GB, free: 43.15 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1588, allocations: 80.69 MB / 0.6179 GB, free: 12.7 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.05452/0.2134, allocations: 57.81 MB / 0.6744 GB, free: 2.66 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02989/0.2434, allocations: 12.09 MB / 0.6862 GB, free: 6.527 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01452/0.258, allocations: 259.3 kB / 0.6864 GB, free: 6.273 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.006015/0.264, allocations: 3.07 MB / 0.6894 GB, free: 3.195 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.005204/0.2693, allocations: 2.021 MB / 0.6914 GB, free: 1.168 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.2715, allocations: 0.901 MB / 0.6923 GB, free: 272 kB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.529/0.8005, allocations: 9.886 MB / 0.7019 GB, free: 11.31 MB / 0.495 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006658/0.8072, allocations: 4.68 MB / 0.7065 GB, free: 10.68 MB / 0.495 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003638/0.8109, allocations: 1.814 MB / 0.7083 GB, free: 10.68 MB / 0.495 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00482/0.8157, allocations: 2.949 MB / 0.7111 GB, free: 10.57 MB / 0.495 GB Notification: Performance of NFPackage.collectConstants: time 0.0009826/0.8167, allocations: 283.9 kB / 0.7114 GB, free: 10.57 MB / 0.495 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002565/0.8193, allocations: 1.242 MB / 0.7126 GB, free: 10.57 MB / 0.495 GB Notification: Performance of NFScalarize.scalarize: time 0.002205/0.8215, allocations: 2.385 MB / 0.715 GB, free: 10.34 MB / 0.495 GB Notification: Performance of NFVerifyModel.verify: time 0.002623/0.8242, allocations: 2.603 MB / 0.7175 GB, free: 9.422 MB / 0.495 GB Notification: Performance of NFConvertDAE.convert: time 0.007145/0.8313, allocations: 8.559 MB / 0.7259 GB, free: 6.535 MB / 0.495 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.8314, allocations: 0 / 0.7259 GB, free: 6.535 MB / 0.495 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8314, allocations: 7.094 kB / 0.7259 GB, free: 6.531 MB / 0.495 GB Notification: Performance of Transformations before backend: time 0.00021/0.8316, allocations: 0 / 0.7259 GB, free: 6.531 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.0135/0.8451, allocations: 6.426 MB / 0.7321 GB, free: 18.37 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.8452, allocations: 10 kB / 0.7322 GB, free: 18.37 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03631/0.8815, allocations: 5.281 MB / 0.7373 GB, free: 15.94 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01215/0.8937, allocations: 5.008 MB / 0.7422 GB, free: 11.59 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/0.8939, allocations: 268.2 kB / 0.7425 GB, free: 11.36 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001151/0.895, allocations: 362.4 kB / 0.7428 GB, free: 11.04 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01824/0.9133, allocations: 11.71 MB / 0.7542 GB, free: 14.81 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001412/0.9134, allocations: 66.83 kB / 0.7543 GB, free: 14.77 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004458/0.9139, allocations: 166 kB / 0.7545 GB, free: 14.64 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003255/0.9172, allocations: 2.08 MB / 0.7565 GB, free: 12.57 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01917/0.9364, allocations: 10.43 MB / 0.7667 GB, free: 2.305 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05111/0.9875, allocations: 43.42 MB / 0.8091 GB, free: 6.168 MB / 0.5732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009191/0.9968, allocations: 4.755 MB / 0.8137 GB, free: 1.273 MB / 0.5732 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00308/0.9999, allocations: 2.908 MB / 0.8166 GB, free: 14.36 MB / 0.5888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0154/1.015, allocations: 10.28 MB / 0.8266 GB, free: 4.035 MB / 0.5888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/1.015, allocations: 54.88 kB / 0.8267 GB, free: 3.977 MB / 0.5888 GB Notification: Performance of pre-optimization done (n=186): time 3.968e-06/1.015, allocations: 0 / 0.8267 GB, free: 3.977 MB / 0.5888 GB Notification: Performance of matching and sorting (n=218): time 0.06492/1.08, allocations: 28.18 MB / 0.8542 GB, free: 7.754 MB / 0.62 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/1.08, allocations: 319.2 kB / 0.8545 GB, free: 7.375 MB / 0.62 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006127/1.087, allocations: 4.84 MB / 0.8592 GB, free: 2.52 MB / 0.62 GB Notification: Performance of collectPreVariables (initialization): time 0.0003366/1.087, allocations: 53.7 kB / 0.8593 GB, free: 2.461 MB / 0.62 GB Notification: Performance of collectInitialEqns (initialization): time 0.001941/1.089, allocations: 3.33 MB / 0.8625 GB, free: 15.13 MB / 0.6357 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008874/1.09, allocations: 0.8348 MB / 0.8633 GB, free: 14.3 MB / 0.6357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001649/1.091, allocations: 1.327 MB / 0.8646 GB, free: 12.96 MB / 0.6357 GB Notification: Performance of setup shared object (initialization): time 7.239e-05/1.092, allocations: 305.1 kB / 0.8649 GB, free: 12.66 MB / 0.6357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00365/1.095, allocations: 2.999 MB / 0.8678 GB, free: 9.66 MB / 0.6357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00554/1.101, allocations: 6.532 MB / 0.8742 GB, free: 1.453 MB / 0.6357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/1.111, allocations: 10.1 MB / 0.8841 GB, free: 6.164 MB / 0.6513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.14e-05/1.111, allocations: 36.06 kB / 0.8841 GB, free: 6.129 MB / 0.6513 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01852/1.13, allocations: 11.77 MB / 0.8956 GB, free: 11.09 MB / 0.6669 GB Notification: Performance of prepare postOptimizeDAE: time 7.164e-05/1.13, allocations: 56.19 kB / 0.8957 GB, free: 11.03 MB / 0.6669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/1.13, allocations: 128 kB / 0.8958 GB, free: 10.91 MB / 0.6669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006094/1.136, allocations: 2.661 MB / 0.8984 GB, free: 8.238 MB / 0.6669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004405/1.14, allocations: 1.54 MB / 0.8999 GB, free: 6.816 MB / 0.6669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0159/1.156, allocations: 13.25 MB / 0.9128 GB, free: 9.496 MB / 0.6825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004715/1.161, allocations: 482.1 kB / 0.9133 GB, free: 9.027 MB / 0.6825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006119/1.162, allocations: 375.9 kB / 0.9137 GB, free: 8.66 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.003738/1.165, allocations: 2.611 MB / 0.9162 GB, free: 6.164 MB / 0.6825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007744/1.166, allocations: 406.8 kB / 0.9166 GB, free: 5.762 MB / 0.6825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/1.177, allocations: 6.633 MB / 0.9231 GB, free: 15.13 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.118e-05/1.177, allocations: 24 kB / 0.9231 GB, free: 15.11 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/1.177, allocations: 12 kB / 0.9231 GB, free: 15.1 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/1.177, allocations: 10.59 kB / 0.9231 GB, free: 15.09 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02266/1.2, allocations: 13.26 MB / 0.9361 GB, free: 1.793 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.699e-05/1.2, allocations: 4 kB / 0.9361 GB, free: 1.789 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/1.202, allocations: 399.8 kB / 0.9365 GB, free: 1.414 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005848/1.208, allocations: 2.456 MB / 0.9389 GB, free: 14.95 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002576/1.208, allocations: 47.64 kB / 0.9389 GB, free: 14.91 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01571/1.224, allocations: 12.78 MB / 0.9514 GB, free: 1.996 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.224, allocations: 8.656 kB / 0.9514 GB, free: 1.992 MB / 0.7138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6059/1.83, allocations: 75.43 MB / 1.025 GB, free: 230.7 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006955/1.83, allocations: 482.2 kB / 1.026 GB, free: 230.3 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004698/1.831, allocations: 39.98 kB / 1.026 GB, free: 230.2 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001869/1.833, allocations: 262.1 kB / 1.026 GB, free: 230 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004596/1.833, allocations: 134.2 kB / 1.026 GB, free: 229.8 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/1.833, allocations: 59.98 kB / 1.026 GB, free: 229.8 MB / 0.714 GB Notification: Performance of sorting global known variables: time 0.003648/1.837, allocations: 3.113 MB / 1.029 GB, free: 226.7 MB / 0.714 GB Notification: Performance of sort global known variables: time 1.7e-07/1.837, allocations: 0 / 1.029 GB, free: 226.7 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.005156/1.842, allocations: 1.78 MB / 1.031 GB, free: 224.9 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.0004119/1.843, allocations: 174.6 kB / 1.031 GB, free: 224.7 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.007864/1.85, allocations: 7.099 MB / 1.038 GB, free: 217.7 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.851, allocations: 3.75 kB / 1.038 GB, free: 217.7 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.002891/1.853, allocations: 2.685 MB / 1.04 GB, free: 215 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/1.856, allocations: 0.5964 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.02042/1.877, 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.004764/1.882, allocations: 4.021 MB / 1.061 GB, free: 193.8 MB / 0.714 GB Notification: Performance of simCode: alias equations: time 0.004962/1.887, 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.001271/1.888, allocations: 279.4 kB / 1.064 GB, free: 191.2 MB / 0.714 GB Notification: Performance of SimCode: time 8.71e-07/1.888, allocations: 0 / 1.064 GB, free: 191.2 MB / 0.714 GB Notification: Performance of Templates: time 0.08812/1.976, allocations: 74.89 MB / 1.137 GB, free: 116.6 MB / 0.714 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@2/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