Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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) 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(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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 109.5 kB / 17.68 MB, free: 5.332 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.001022/0.001022, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.3/1.3, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 47.78 kB / 302.1 MB, free: 5.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1015, allocations: 49.44 MB / 351.5 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.0127/0.1143, allocations: 11.91 MB / 363.4 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008755/0.1231, allocations: 4.339 MB / 367.7 MB, free: 3.355 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002109/0.1253, allocations: 83.69 kB / 367.8 MB, free: 3.273 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005441/0.1308, allocations: 2.893 MB / 370.7 MB, free: 380 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1686/0.2994, allocations: 1.971 MB / 372.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.3016, allocations: 1.034 MB / 373.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007341/0.309, allocations: 5.561 MB / 379.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004491/0.3135, allocations: 3.993 MB / 383.3 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002657/0.3162, allocations: 1.722 MB / 385 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002483/0.3187, allocations: 2.309 MB / 387.3 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005827/0.3193, allocations: 366.1 kB / 387.7 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.3211, allocations: 1.248 MB / 388.9 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001538/0.3227, allocations: 2.131 MB / 391 MB, free: 6.836 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001874/0.3245, allocations: 2.391 MB / 393.4 MB, free: 5.055 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005404/0.33, allocations: 7.716 MB / 401.2 MB, free: 15.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.33, allocations: 0 / 401.2 MB, free: 15.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.33, allocations: 0 / 401.2 MB, free: 15.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001092/0.3301, allocations: 4 kB / 401.2 MB, free: 15.61 MB / 318.1 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.00979/0.3399, allocations: 5.249 MB / 406.4 MB, free: 10.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.34, allocations: 8.031 kB / 406.4 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02304/0.363, allocations: 3.17 MB / 409.6 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008699/0.3717, allocations: 3.593 MB / 413.2 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.3719, allocations: 241.4 kB / 413.4 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007442/0.3727, allocations: 336.5 kB / 413.7 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01437/0.3871, allocations: 10.02 MB / 423.8 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/0.3872, allocations: 51.5 kB / 423.8 MB, free: 8.488 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000363/0.3876, allocations: 159.6 kB / 424 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003088/0.3907, allocations: 1.956 MB / 425.9 MB, free: 6.418 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01448/0.4052, allocations: 8.583 MB / 434.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04623/0.4514, allocations: 38.66 MB / 473.2 MB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008059/0.4595, allocations: 3.937 MB / 477.1 MB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002475/0.462, allocations: 2.192 MB / 479.3 MB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006228/0.4626, allocations: 0.6483 MB / 479.9 MB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.4627, allocations: 59.42 kB / 480 MB, free: 15.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=166): time 3.778e-06/0.4627, allocations: 0 / 480 MB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=201): time 0.05388/0.5166, allocations: 22.59 MB / 0.4908 GB, free: 8.449 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.5168, allocations: 252.6 kB / 0.4911 GB, free: 8.148 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005418/0.5222, allocations: 4.177 MB / 0.4951 GB, free: 3.949 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000353/0.5225, allocations: 49.7 kB / 0.4952 GB, free: 3.895 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001999/0.5246, allocations: 3.116 MB / 0.4982 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007561/0.5253, allocations: 0.7662 MB / 0.499 GB, free: 20 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00169/0.527, allocations: 1.255 MB / 0.5002 GB, free: 14.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.5271, allocations: 301.1 kB / 0.5005 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003217/0.5304, allocations: 2.495 MB / 0.5029 GB, free: 11.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005163/0.5355, allocations: 5.973 MB / 0.5088 GB, free: 4.266 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009575/0.5451, allocations: 9.081 MB / 0.5176 GB, free: 9.516 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.208e-05/0.5452, allocations: 39.75 kB / 0.5177 GB, free: 9.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.1768/0.722, allocations: 10.54 MB / 0.5279 GB, free: 139 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.7221, allocations: 57.27 kB / 0.528 GB, free: 139 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001701/0.7223, allocations: 124.5 kB / 0.5281 GB, free: 139 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007472/0.7298, allocations: 2.592 MB / 0.5307 GB, free: 139 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004399/0.7342, allocations: 1.31 MB / 0.5319 GB, free: 139 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0227/0.7569, allocations: 18.63 MB / 0.5501 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005264/0.7622, allocations: 361.5 kB / 0.5505 GB, free: 130.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009146/0.7632, allocations: 357.8 kB / 0.5508 GB, free: 130.4 MB / 446.1 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,100.0%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.00319/0.7664, allocations: 2.172 MB / 0.5529 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006749/0.7671, allocations: 369.9 kB / 0.5533 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007985/0.7751, allocations: 5.03 MB / 0.5582 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.727e-05/0.7751, allocations: 19.62 kB / 0.5582 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.7751, allocations: 7.812 kB / 0.5582 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/0.7751, allocations: 11.73 kB / 0.5582 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01638/0.7915, allocations: 10.79 MB / 0.5688 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.7916, allocations: 0.75 kB / 0.5688 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/0.7928, allocations: 290 kB / 0.5691 GB, free: 123 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004423/0.7972, allocations: 1.849 MB / 0.5709 GB, free: 121.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/0.7974, allocations: 28 kB / 0.5709 GB, free: 121.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01056/0.808, allocations: 10.4 MB / 0.581 GB, free: 110.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.808, allocations: 3.656 kB / 0.581 GB, free: 110.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01048/0.8185, allocations: 8.171 MB / 0.589 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.8195, allocations: 432 kB / 0.5894 GB, free: 102.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004325/0.8199, allocations: 32 kB / 0.5895 GB, free: 102.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/0.8215, allocations: 139.8 kB / 0.5896 GB, free: 102.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003528/0.8218, allocations: 122 kB / 0.5897 GB, free: 102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/0.822, allocations: 52.34 kB / 0.5898 GB, free: 102 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002893/0.8249, allocations: 2.623 MB / 0.5923 GB, free: 99.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8249, allocations: 0 / 0.5923 GB, free: 99.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004252/0.8291, allocations: 1.182 MB / 0.5935 GB, free: 98.15 MB / 446.1 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.0003834/0.8295, allocations: 162.6 kB / 0.5936 GB, free: 97.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008097/0.8376, allocations: 6.523 MB / 0.6 GB, free: 91.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.8377, allocations: 4.125 kB / 0.6 GB, free: 91.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00241/0.8401, allocations: 2.154 MB / 0.6021 GB, free: 89.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003104/0.8432, allocations: 0.5707 MB / 0.6027 GB, free: 88.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/0.8572, allocations: 10.4 MB / 0.6128 GB, free: 78.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002774/0.86, allocations: 3.442 MB / 0.6162 GB, free: 74.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003461/0.8635, allocations: 1.88 MB / 0.618 GB, free: 72.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006105/0.8641, allocations: 247.4 kB / 0.6183 GB, free: 72.73 MB / 446.1 MB Notification: Performance of SimCode: time 7.22e-07/0.8641, allocations: 0 / 0.6183 GB, free: 72.73 MB / 446.1 MB Notification: Performance of Templates: time 0.06632/0.9305, allocations: 46.71 MB / 0.6639 GB, free: 26.37 MB / 446.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches