Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008487/0.0008488, allocations: 177.3 kB / 16.71 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 225.7 MB / 243.2 MB, free: 8.449 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007304/0.0007304, allocations: 85.94 kB / 294.3 MB, free: 9.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002313/0.0002313, allocations: 7.938 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2087, allocations: 50.42 MB / 404.6 MB, free: 31.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.03313/0.2419, allocations: 45.81 MB / 450.4 MB, free: 1.375 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02104/0.2629, allocations: 13.57 MB / 464 MB, free: 3.086 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007113/0.2701, allocations: 223.4 kB / 464.2 MB, free: 2.867 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.2715, allocations: 477.5 kB / 464.6 MB, free: 2.398 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004107/0.2756, allocations: 1.861 MB / 466.5 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.277, allocations: 0.7411 MB / 467.2 MB, free: 15.79 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.008686/0.2857, allocations: 7.843 MB / 475.1 MB, free: 7.926 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007795/0.2936, allocations: 6.413 MB / 481.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002676/0.2963, allocations: 1.401 MB / 482.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00298/0.2993, allocations: 2.145 MB / 485 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004956/0.2998, allocations: 148 kB / 485.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00189/0.3017, allocations: 1.08 MB / 486.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00173/0.3034, allocations: 1.862 MB / 488.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001977/0.3054, allocations: 2.129 MB / 490.3 MB, free: 8.367 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006829/0.3123, allocations: 7.167 MB / 497.4 MB, free: 1.176 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3123, allocations: 4 kB / 497.4 MB, free: 1.172 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3123, allocations: 0 / 497.4 MB, free: 1.172 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001595/0.3125, allocations: 0 / 497.4 MB, free: 1.172 MB / 362.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.008165/0.3207, allocations: 4.328 MB / 0.49 GB, free: 12.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3207, allocations: 11.97 kB / 0.49 GB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02191/0.3426, allocations: 3.248 MB / 0.4932 GB, free: 9.504 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0082/0.3509, allocations: 3.52 MB / 0.4966 GB, free: 5.926 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/0.3511, allocations: 238.2 kB / 0.4968 GB, free: 5.691 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008924/0.352, allocations: 335.7 kB / 0.4972 GB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1725/0.5245, allocations: 10.01 MB / 0.5069 GB, free: 94.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/0.5247, allocations: 46.53 kB / 0.507 GB, free: 94.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000329/0.525, allocations: 153.5 kB / 0.5071 GB, free: 93.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002988/0.528, allocations: 1.964 MB / 0.5091 GB, free: 93.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01127/0.5393, allocations: 8.56 MB / 0.5174 GB, free: 89.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03042/0.5697, allocations: 38.87 MB / 0.5554 GB, free: 49.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006672/0.5764, allocations: 3.939 MB / 0.5592 GB, free: 45.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001943/0.5784, allocations: 2.192 MB / 0.5614 GB, free: 43.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004503/0.5789, allocations: 0.6474 MB / 0.562 GB, free: 42.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.5789, allocations: 55.5 kB / 0.562 GB, free: 42.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=166): time 3.717e-06/0.5789, allocations: 0 / 0.562 GB, free: 42.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=201): time 0.04747/0.6264, allocations: 22.56 MB / 0.5841 GB, free: 19.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.6265, allocations: 256.6 kB / 0.5843 GB, free: 19.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004228/0.6307, allocations: 4.142 MB / 0.5884 GB, free: 15.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002457/0.631, allocations: 53.7 kB / 0.5884 GB, free: 15.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001228/0.6322, allocations: 3.112 MB / 0.5915 GB, free: 12.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005454/0.6328, allocations: 0.7718 MB / 0.5922 GB, free: 11.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/0.633, allocations: 127.8 kB / 0.5923 GB, free: 11.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.6332, allocations: 0.5623 MB / 0.5929 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002625/0.6359, allocations: 2.464 MB / 0.5953 GB, free: 8.395 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003632/0.6395, allocations: 5.957 MB / 0.6011 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009271/0.6488, allocations: 9.032 MB / 0.6099 GB, free: 5.988 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.98e-05/0.6489, allocations: 39.94 kB / 0.61 GB, free: 5.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01813/0.667, allocations: 10.49 MB / 0.6202 GB, free: 11.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.503e-05/0.6671, allocations: 56.28 kB / 0.6203 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001096/0.6673, allocations: 124 kB / 0.6204 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006871/0.6741, allocations: 2.598 MB / 0.6229 GB, free: 8.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003884/0.678, allocations: 1.314 MB / 0.6242 GB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02204/0.7001, allocations: 17.24 MB / 0.641 GB, free: 5.707 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004939/0.7051, allocations: 359.4 kB / 0.6414 GB, free: 5.355 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/0.7061, allocations: 360 kB / 0.6417 GB, free: 5.004 MB / 426.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.004106/0.7103, allocations: 2.171 MB / 0.6438 GB, free: 2.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007456/0.711, allocations: 375.2 kB / 0.6442 GB, free: 2.449 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009031/0.7201, allocations: 5.02 MB / 0.6491 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.065e-05/0.7201, allocations: 20 kB / 0.6491 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/0.7202, allocations: 8 kB / 0.6491 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.812e-05/0.7202, allocations: 15.95 kB / 0.6491 GB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01885/0.739, allocations: 10.84 MB / 0.6597 GB, free: 2.473 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.611e-05/0.7391, allocations: 0 / 0.6597 GB, free: 2.473 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/0.7407, allocations: 287.5 kB / 0.66 GB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005727/0.7465, allocations: 1.843 MB / 0.6618 GB, free: 352 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003961/0.7469, allocations: 36 kB / 0.6618 GB, free: 316 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2004/0.9474, allocations: 9.707 MB / 0.6713 GB, free: 139.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9474, allocations: 0 / 0.6713 GB, free: 139.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/0.9581, allocations: 8.142 MB / 0.6793 GB, free: 136.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008734/0.959, allocations: 440.9 kB / 0.6797 GB, free: 136.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004584/0.9595, allocations: 28.78 kB / 0.6797 GB, free: 136.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.961, allocations: 141.2 kB / 0.6798 GB, free: 136.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003826/0.9614, allocations: 121 kB / 0.68 GB, free: 136.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.9615, allocations: 50.08 kB / 0.68 GB, free: 136.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003163/0.9647, allocations: 2.599 MB / 0.6825 GB, free: 135.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9647, allocations: 0 / 0.6825 GB, free: 135.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004096/0.9688, allocations: 1.181 MB / 0.6837 GB, free: 135.3 MB / 442.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.0003792/0.9692, allocations: 175.5 kB / 0.6839 GB, free: 135.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008149/0.9774, allocations: 6.424 MB / 0.6901 GB, free: 130.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.9774, allocations: 0 / 0.6901 GB, free: 130.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00269/0.9801, allocations: 2.143 MB / 0.6922 GB, free: 129 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003866/0.984, allocations: 0.5339 MB / 0.6928 GB, free: 128.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/1, allocations: 12.66 MB / 0.7051 GB, free: 116.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00294/1.003, allocations: 3.438 MB / 0.7085 GB, free: 113.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003958/1.007, allocations: 1.88 MB / 0.7103 GB, free: 111.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006175/1.008, allocations: 247.4 kB / 0.7105 GB, free: 111 MB / 442.7 MB Notification: Performance of SimCode: time 8.82e-07/1.008, allocations: 0 / 0.7105 GB, free: 111 MB / 442.7 MB Notification: Performance of Templates: time 0.06974/1.077, allocations: 48.82 MB / 0.7582 GB, free: 62.43 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches