Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001352/0.001352, allocations: 178.2 kB / 17.36 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.6 MB / 223.7 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007521/0.0007521, allocations: 96.08 kB / 272.1 MB, free: 8.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002339/0.0002339, allocations: 4 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1967, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.03074/0.2275, allocations: 46.17 MB / 422.8 MB, free: 2.203 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0238/0.2513, allocations: 13.68 MB / 436.5 MB, free: 3.793 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01109/0.2625, allocations: 219.4 kB / 436.7 MB, free: 3.578 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.2642, allocations: 493.5 kB / 437.2 MB, free: 3.094 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004983/0.2692, allocations: 1.911 MB / 439.1 MB, free: 1.176 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.2707, allocations: 0.7489 MB / 439.8 MB, free: 436 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007931/0.2787, allocations: 7.527 MB / 447.3 MB, free: 8.875 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007213/0.2859, allocations: 6.457 MB / 453.8 MB, free: 2.078 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00251/0.2885, allocations: 1.443 MB / 455.2 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002773/0.2913, allocations: 2.231 MB / 457.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005628/0.2918, allocations: 156 kB / 457.6 MB, free: 14.24 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.2938, allocations: 1.065 MB / 458.7 MB, free: 13.17 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001705/0.2956, allocations: 1.928 MB / 460.6 MB, free: 11.24 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002132/0.2977, allocations: 2.202 MB / 462.8 MB, free: 9.016 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006997/0.3047, allocations: 7.412 MB / 470.2 MB, free: 1.578 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3047, allocations: 4 kB / 470.2 MB, free: 1.574 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3047, allocations: 0 / 470.2 MB, free: 1.574 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002133/0.305, allocations: 0 / 470.2 MB, free: 1.574 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.008395/0.3134, allocations: 4.43 MB / 474.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3134, allocations: 12.03 kB / 474.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02258/0.336, allocations: 3.271 MB / 477.9 MB, free: 9.773 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00808/0.3441, allocations: 3.676 MB / 481.6 MB, free: 6.039 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002001/0.3444, allocations: 250.3 kB / 481.9 MB, free: 5.793 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009813/0.3454, allocations: 327.8 kB / 482.2 MB, free: 5.473 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0155/0.3609, allocations: 10.35 MB / 492.5 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001424/0.3611, allocations: 39.66 kB / 492.6 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004263/0.3615, allocations: 159.8 kB / 492.7 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003114/0.3646, allocations: 2.026 MB / 494.8 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1832/0.5478, allocations: 8.87 MB / 0.4918 GB, free: 105.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03554/0.5834, allocations: 39.86 MB / 0.5307 GB, free: 76.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006755/0.5902, allocations: 4.051 MB / 0.5347 GB, free: 72.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001983/0.5922, allocations: 2.237 MB / 0.5369 GB, free: 70.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004365/0.5927, allocations: 0.6536 MB / 0.5375 GB, free: 69.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.5927, allocations: 51.56 kB / 0.5376 GB, free: 69.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=175): time 3.767e-06/0.5927, allocations: 0 / 0.5376 GB, free: 69.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=210): time 0.04915/0.6419, allocations: 22.93 MB / 0.56 GB, free: 46.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.642, allocations: 252.6 kB / 0.5602 GB, free: 45.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004304/0.6463, allocations: 4.24 MB / 0.5643 GB, free: 41.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003285/0.6466, allocations: 50.25 kB / 0.5644 GB, free: 41.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001316/0.6479, allocations: 3.204 MB / 0.5675 GB, free: 38.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006431/0.6486, allocations: 0.8044 MB / 0.5683 GB, free: 37.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.6488, allocations: 127.6 kB / 0.5684 GB, free: 37.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002435/0.6491, allocations: 0.5666 MB / 0.569 GB, free: 36.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002929/0.652, allocations: 2.534 MB / 0.5715 GB, free: 34.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0049/0.657, allocations: 6.099 MB / 0.5774 GB, free: 26.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008962/0.6659, allocations: 9.261 MB / 0.5865 GB, free: 15.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-05/0.6661, allocations: 36 kB / 0.5865 GB, free: 15.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.02024/0.6863, allocations: 10.71 MB / 0.5969 GB, free: 4.777 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.582e-05/0.6865, allocations: 59.98 kB / 0.597 GB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000113/0.6866, allocations: 128.1 kB / 0.5971 GB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006751/0.6933, allocations: 2.593 MB / 0.5997 GB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004097/0.6975, allocations: 1.353 MB / 0.601 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02255/0.72, allocations: 17.27 MB / 0.6178 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004511/0.7246, allocations: 375.3 kB / 0.6182 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001046/0.7257, allocations: 368 kB / 0.6186 GB, free: 14.24 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * Number of states: 0 () * Number of discrete variables: 33 (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 (731): * Single equations (assignments): 725 * 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,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.00484/0.7305, allocations: 2.228 MB / 0.6207 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009773/0.7315, allocations: 387 kB / 0.6211 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/0.7417, allocations: 5.137 MB / 0.6261 GB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.45e-05/0.7418, allocations: 24 kB / 0.6261 GB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.29e-05/0.7418, allocations: 8 kB / 0.6261 GB, free: 6.426 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.643e-05/0.7419, allocations: 11.95 kB / 0.6262 GB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02215/0.764, allocations: 11.11 MB / 0.637 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.06e-05/0.7641, allocations: 3.938 kB / 0.637 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/0.7656, allocations: 307.5 kB / 0.6373 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005064/0.7707, allocations: 1.846 MB / 0.6391 GB, free: 9.094 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003391/0.771, allocations: 39.98 kB / 0.6392 GB, free: 9.055 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1859/0.9569, allocations: 9.685 MB / 0.6486 GB, free: 139.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.485e-06/0.957, allocations: 7 kB / 0.6486 GB, free: 139.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01525/0.9723, allocations: 8.323 MB / 0.6567 GB, free: 137.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00272/0.975, allocations: 0.7703 MB / 0.6575 GB, free: 137.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001202/0.9763, allocations: 33.97 kB / 0.6575 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002372/0.9787, allocations: 143.3 kB / 0.6577 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005507/0.9792, allocations: 125 kB / 0.6578 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002408/0.9795, allocations: 52.59 kB / 0.6578 GB, free: 137.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006495/0.986, allocations: 2.662 MB / 0.6604 GB, free: 136.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.553e-06/0.986, allocations: 0 / 0.6604 GB, free: 136.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007706/0.9937, allocations: 1.214 MB / 0.6616 GB, free: 136.5 MB / 426.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 (157): * Single equations (assignments): 153 * 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,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00106/0.9949, allocations: 172.9 kB / 0.6618 GB, free: 136.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01745/1.012, allocations: 6.592 MB / 0.6682 GB, free: 133.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/1.012, allocations: 0 / 0.6682 GB, free: 133.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005773/1.018, allocations: 2.229 MB / 0.6704 GB, free: 133 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007622/1.026, allocations: 0.5293 MB / 0.6709 GB, free: 132.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0292/1.055, allocations: 13.06 MB / 0.6837 GB, free: 121.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006899/1.062, allocations: 3.523 MB / 0.6871 GB, free: 118.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.009233/1.071, allocations: 1.92 MB / 0.689 GB, free: 116.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001477/1.073, allocations: 263.4 kB / 0.6892 GB, free: 116.5 MB / 426.7 MB Notification: Performance of SimCode: time 9.32e-07/1.073, allocations: 0 / 0.6892 GB, free: 116.5 MB / 426.7 MB Notification: Performance of Templates: time 0.1094/1.182, allocations: 49.87 MB / 0.7379 GB, free: 66.74 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches