Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 192.8 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 229.5 MB / 247.7 MB, free: 6.305 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008356/0.0008354, allocations: 98.22 kB / 299.9 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002082/0.0002082, allocations: 8 kB / 360.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.178, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.0328/0.2108, allocations: 45.81 MB / 457.9 MB, free: 11.97 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02176/0.2326, allocations: 13.98 MB / 471.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007243/0.2399, allocations: 223.4 kB / 472.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.2414, allocations: 485.5 kB / 472.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003897/0.2453, allocations: 1.845 MB / 474.4 MB, free: 10.63 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.2466, allocations: 0.7333 MB / 475.1 MB, free: 9.895 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.008426/0.2551, allocations: 7.964 MB / 483.1 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006946/0.262, allocations: 6.398 MB / 489.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001989/0.264, allocations: 1.408 MB / 490.9 MB, free: 9.754 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002441/0.2665, allocations: 2.145 MB / 493 MB, free: 7.602 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003794/0.2669, allocations: 148 kB / 493.2 MB, free: 7.457 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.2688, allocations: 1.061 MB / 494.2 MB, free: 6.395 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00148/0.2703, allocations: 1.874 MB / 496.1 MB, free: 4.516 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001722/0.272, allocations: 2.125 MB / 498.2 MB, free: 2.371 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006101/0.2781, allocations: 7.155 MB / 0.4935 GB, free: 11.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2781, allocations: 0 / 0.4935 GB, free: 11.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.2782, allocations: 7.938 kB / 0.4936 GB, free: 11.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.00015/0.2783, allocations: 4 kB / 0.4936 GB, free: 11.18 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.008168/0.2865, allocations: 4.339 MB / 0.4978 GB, free: 6.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.2865, allocations: 12.03 kB / 0.4978 GB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02309/0.3096, allocations: 3.248 MB / 0.501 GB, free: 3.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1739/0.4835, allocations: 3.472 MB / 0.5044 GB, free: 92.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003061/0.4839, allocations: 240.9 kB / 0.5046 GB, free: 92.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/0.485, allocations: 325 kB / 0.5049 GB, free: 92.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01425/0.4993, allocations: 10.02 MB / 0.5147 GB, free: 88.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001064/0.4994, allocations: 52.94 kB / 0.5147 GB, free: 88.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003625/0.4998, allocations: 150.5 kB / 0.5149 GB, free: 88.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002628/0.5024, allocations: 1.961 MB / 0.5168 GB, free: 87.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01261/0.5151, allocations: 8.561 MB / 0.5252 GB, free: 78.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03374/0.5489, allocations: 38.87 MB / 0.5631 GB, free: 39.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006721/0.5556, allocations: 3.938 MB / 0.567 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002024/0.5577, allocations: 2.184 MB / 0.5691 GB, free: 33.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004501/0.5581, allocations: 0.6429 MB / 0.5697 GB, free: 32.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.5582, allocations: 59.48 kB / 0.5698 GB, free: 32.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=166): time 3.647e-06/0.5582, allocations: 0 / 0.5698 GB, free: 32.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=201): time 0.04942/0.6076, allocations: 22.56 MB / 0.5918 GB, free: 9.504 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.404e-05/0.6078, allocations: 256.6 kB / 0.5921 GB, free: 9.199 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004809/0.6126, allocations: 4.139 MB / 0.5961 GB, free: 5.039 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003308/0.6129, allocations: 61.08 kB / 0.5962 GB, free: 4.977 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001423/0.6144, allocations: 3.115 MB / 0.5992 GB, free: 1.863 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006265/0.615, allocations: 0.7663 MB / 0.6 GB, free: 1.102 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.6152, allocations: 120 kB / 0.6001 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002314/0.6155, allocations: 0.5662 MB / 0.6006 GB, free: 420 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003634/0.6191, allocations: 2.468 MB / 0.603 GB, free: 13.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006208/0.6253, allocations: 5.961 MB / 0.6089 GB, free: 6.254 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/0.6364, allocations: 9.027 MB / 0.6177 GB, free: 11.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/0.6366, allocations: 32 kB / 0.6177 GB, free: 11.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.02091/0.6575, allocations: 10.51 MB / 0.628 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.134e-05/0.6576, allocations: 56 kB / 0.628 GB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001261/0.6578, allocations: 120 kB / 0.6281 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007455/0.6652, allocations: 2.603 MB / 0.6307 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004291/0.6696, allocations: 1.306 MB / 0.6319 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0238/0.6934, allocations: 17.23 MB / 0.6488 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004574/0.698, allocations: 367.3 kB / 0.6491 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008114/0.6988, allocations: 367.8 kB / 0.6495 GB, free: 10.54 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 35 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (709): * Single equations (assignments): 703 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,35,88.9%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.00349/0.7023, allocations: 2.162 MB / 0.6516 GB, free: 8.363 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008339/0.7032, allocations: 379.1 kB / 0.652 GB, free: 7.988 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009366/0.7125, allocations: 5.026 MB / 0.6569 GB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.366e-05/0.7126, allocations: 20 kB / 0.6569 GB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.7127, allocations: 8 kB / 0.6569 GB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-05/0.7127, allocations: 7.969 kB / 0.6569 GB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01864/0.7313, allocations: 10.82 MB / 0.6675 GB, free: 8.012 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/0.7314, allocations: 0 / 0.6675 GB, free: 8.012 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/0.7329, allocations: 295.5 kB / 0.6677 GB, free: 7.723 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005055/0.738, allocations: 1.842 MB / 0.6695 GB, free: 5.875 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002543/0.7382, allocations: 32 kB / 0.6696 GB, free: 5.844 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2147/0.9529, allocations: 9.707 MB / 0.6791 GB, free: 150.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.9529, allocations: 5.75 kB / 0.6791 GB, free: 150.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02241/0.9754, allocations: 8.14 MB / 0.687 GB, free: 148.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/0.9769, allocations: 433.5 kB / 0.6874 GB, free: 148.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001232/0.9781, allocations: 37.34 kB / 0.6875 GB, free: 148.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003498/0.9817, allocations: 143.4 kB / 0.6876 GB, free: 148.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000813/0.9825, allocations: 115.3 kB / 0.6877 GB, free: 148.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003671/0.9829, allocations: 50.66 kB / 0.6878 GB, free: 148.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006622/0.9896, allocations: 2.597 MB / 0.6903 GB, free: 147.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.9896, allocations: 0 / 0.6903 GB, free: 147.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008718/0.9983, allocations: 1.179 MB / 0.6914 GB, free: 147.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (147): * Single equations (assignments): 143 * 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 {(2,33,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008261/0.9992, allocations: 179.6 kB / 0.6916 GB, free: 147 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01523/1.014, allocations: 6.41 MB / 0.6979 GB, free: 144.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.015, allocations: 3.969 kB / 0.6979 GB, free: 144.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00535/1.02, allocations: 2.152 MB / 0.7 GB, free: 143.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007194/1.027, allocations: 0.5349 MB / 0.7005 GB, free: 143.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02283/1.05, allocations: 12.65 MB / 0.7129 GB, free: 132.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003889/1.054, allocations: 3.44 MB / 0.7162 GB, free: 129.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004307/1.058, allocations: 1.876 MB / 0.718 GB, free: 127.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009674/1.059, allocations: 247.4 kB / 0.7183 GB, free: 127.5 MB / 458.7 MB Notification: Performance of SimCode: time 2.485e-06/1.059, allocations: 4 kB / 0.7183 GB, free: 127.5 MB / 458.7 MB Notification: Performance of Templates: time 0.07198/1.131, allocations: 48.82 MB / 0.766 GB, free: 78.91 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches