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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 108.6 kB / 16.92 MB, free: 5.781 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.001755/0.001756, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.331/1.331, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9375/0.9375, allocations: 119.3 MB / 411 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.89 kB / 0.491 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5067/0.5079, allocations: 80.68 MB / 0.5697 GB, free: 43.59 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.01115/0.5191, allocations: 12.33 MB / 0.5818 GB, free: 33.89 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.009494/0.5287, allocations: 4.438 MB / 0.5861 GB, free: 30.41 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003304/0.5321, allocations: 86.59 kB / 0.5862 GB, free: 30.39 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.005479/0.5375, allocations: 3.095 MB / 0.5892 GB, free: 28.3 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.00583/0.5435, allocations: 2.142 MB / 0.5913 GB, free: 26.77 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.002173/0.5457, allocations: 0.9799 MB / 0.5923 GB, free: 26.12 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.007899/0.5536, allocations: 7.056 MB / 0.5992 GB, free: 19.61 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004631/0.5582, allocations: 4.899 MB / 0.6039 GB, free: 14.64 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003145/0.5614, allocations: 2.095 MB / 0.606 GB, free: 12.54 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00352/0.565, allocations: 2.796 MB / 0.6087 GB, free: 9.73 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001351/0.5664, allocations: 428 kB / 0.6091 GB, free: 9.312 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003022/0.5694, allocations: 1.315 MB / 0.6104 GB, free: 7.996 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.003133/0.5726, allocations: 2.513 MB / 0.6129 GB, free: 5.477 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.004428/0.577, allocations: 2.758 MB / 0.6156 GB, free: 2.703 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.5878, allocations: 8.689 MB / 0.6241 GB, free: 9.988 MB / 478.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.5878, allocations: 0 / 0.6241 GB, free: 9.988 MB / 478.3 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5879, allocations: 0 / 0.6241 GB, free: 9.988 MB / 478.3 MB Notification: Performance of Transformations before backend: time 0.0003164/0.5882, allocations: 0 / 0.6241 GB, free: 9.988 MB / 478.3 MB 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.01705/0.6052, allocations: 6.431 MB / 0.6303 GB, free: 3.477 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.6053, allocations: 15.89 kB / 0.6303 GB, free: 3.461 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03815/0.6435, allocations: 5.275 MB / 0.6355 GB, free: 14.17 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01207/0.6556, allocations: 5.009 MB / 0.6404 GB, free: 9.078 MB / 494.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002627/0.6559, allocations: 267.2 kB / 0.6406 GB, free: 8.816 MB / 494.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001578/0.6575, allocations: 371.8 kB / 0.641 GB, free: 8.453 MB / 494.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02185/0.6793, allocations: 11.71 MB / 0.6524 GB, free: 12.03 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002067/0.6796, allocations: 55.48 kB / 0.6525 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006717/0.6803, allocations: 167.9 kB / 0.6526 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003674/0.684, allocations: 2.084 MB / 0.6547 GB, free: 9.719 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02024/0.7042, allocations: 10.44 MB / 0.6649 GB, free: 15.26 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05809/0.7624, allocations: 43.42 MB / 0.7073 GB, free: 2.578 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/0.7733, allocations: 4.756 MB / 0.7119 GB, free: 13.68 MB / 0.5608 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004281/0.7777, allocations: 2.908 MB / 0.7148 GB, free: 10.76 MB / 0.5608 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01903/0.7967, allocations: 10.28 MB / 0.7248 GB, free: 376 kB / 0.5608 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.625e-05/0.7968, allocations: 51.88 kB / 0.7248 GB, free: 316 kB / 0.5608 GB Notification: Performance of pre-optimization done (n=186): time 5.57e-06/0.7969, allocations: 0 / 0.7248 GB, free: 316 kB / 0.5608 GB Notification: Performance of matching and sorting (n=218): time 0.07858/0.8754, allocations: 28.22 MB / 0.7524 GB, free: 3.977 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002143/0.8757, allocations: 308 kB / 0.7527 GB, free: 3.605 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5026/1.378, allocations: 4.836 MB / 0.7574 GB, free: 162.7 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0005424/1.379, allocations: 58.11 kB / 0.7575 GB, free: 162.7 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.002759/1.382, allocations: 3.334 MB / 0.7607 GB, free: 160.9 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.001154/1.383, allocations: 0.8218 MB / 0.7615 GB, free: 160.3 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002298/1.385, allocations: 1.335 MB / 0.7628 GB, free: 159.6 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 4.646e-05/1.385, allocations: 302 kB / 0.7631 GB, free: 159.4 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004665/1.39, allocations: 3 MB / 0.7661 GB, free: 158.5 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006225/1.396, allocations: 6.536 MB / 0.7724 GB, free: 152.9 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01118/1.407, allocations: 10.1 MB / 0.7823 GB, free: 145.7 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001683/1.408, allocations: 35.28 kB / 0.7823 GB, free: 145.7 MB / 0.5923 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.02009/1.428, allocations: 11.77 MB / 0.7938 GB, free: 141.1 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 8.983e-05/1.428, allocations: 65.59 kB / 0.7939 GB, free: 141.1 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001214/1.428, allocations: 120.8 kB / 0.794 GB, free: 141.1 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00585/1.434, allocations: 2.672 MB / 0.7966 GB, free: 139.6 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004546/1.438, allocations: 1.536 MB / 0.7981 GB, free: 138.1 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01421/1.453, allocations: 14.13 MB / 0.8119 GB, free: 123.8 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00556/1.458, allocations: 483.1 kB / 0.8124 GB, free: 123.3 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001124/1.459, allocations: 371.8 kB / 0.8127 GB, free: 123 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.003971/1.463, allocations: 2.603 MB / 0.8153 GB, free: 120.4 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009936/1.464, allocations: 406.8 kB / 0.8157 GB, free: 120 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009693/1.474, allocations: 6.639 MB / 0.8221 GB, free: 113.3 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.564e-05/1.474, allocations: 24 kB / 0.8222 GB, free: 113.3 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.607e-05/1.474, allocations: 8 kB / 0.8222 GB, free: 113.3 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.353e-05/1.474, allocations: 11.97 kB / 0.8222 GB, free: 113.3 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02067/1.495, allocations: 13.26 MB / 0.8351 GB, free: 99.93 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.832e-05/1.495, allocations: 4 kB / 0.8351 GB, free: 99.93 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/1.497, allocations: 395.4 kB / 0.8355 GB, free: 99.54 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005296/1.502, allocations: 2.46 MB / 0.8379 GB, free: 97.08 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000419/1.502, allocations: 51.66 kB / 0.838 GB, free: 97.03 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01368/1.516, allocations: 13.65 MB / 0.8513 GB, free: 83.23 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.516, allocations: 7.938 kB / 0.8513 GB, free: 83.23 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01338/1.53, allocations: 10.22 MB / 0.8613 GB, free: 72.95 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/1.531, allocations: 483.7 kB / 0.8617 GB, free: 72.46 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009463/1.532, allocations: 40 kB / 0.8618 GB, free: 72.42 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002234/1.534, allocations: 263.5 kB / 0.862 GB, free: 72.16 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005148/1.535, allocations: 125.1 kB / 0.8621 GB, free: 72.04 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/1.535, allocations: 65.23 kB / 0.8622 GB, free: 71.98 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.004229/1.539, allocations: 3.106 MB / 0.8652 GB, free: 68.88 MB / 0.5923 GB Notification: Performance of sort global known variables: time 2.7e-07/1.539, allocations: 0 / 0.8652 GB, free: 68.88 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.005999/1.545, allocations: 1.3 MB / 0.8665 GB, free: 67.58 MB / 0.5923 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.0006046/1.546, allocations: 184.5 kB / 0.8667 GB, free: 67.4 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.01212/1.558, allocations: 9.148 MB / 0.8756 GB, free: 58.27 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.558, allocations: 0 / 0.8756 GB, free: 58.27 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.003343/1.561, allocations: 2.687 MB / 0.8782 GB, free: 55.58 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00409/1.566, allocations: 0.6392 MB / 0.8789 GB, free: 54.95 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01862/1.584, allocations: 12.48 MB / 0.8911 GB, free: 42.43 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005055/1.589, allocations: 3.934 MB / 0.8949 GB, free: 38.46 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.00518/1.594, allocations: 2.191 MB / 0.897 GB, free: 36.26 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009533/1.595, allocations: 279.4 kB / 0.8973 GB, free: 35.99 MB / 0.5923 GB Notification: Performance of SimCode: time 1.273e-06/1.595, allocations: 0 / 0.8973 GB, free: 35.99 MB / 0.5923 GB Notification: Performance of Templates: time 0.0896/1.685, allocations: 58.15 MB / 0.9541 GB, free: 10.17 MB / 0.6235 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches