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.001381/0.001381, allocations: 109.7 kB / 17.16 MB, free: 6.328 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.001313/0.001313, allocations: 198.9 kB / 18.08 MB, free: 5.422 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.348/1.348, allocations: 222.9 MB / 241.8 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 42.08 kB / 300.6 MB, free: 6.062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1036, allocations: 49.46 MB / 350.1 MB, free: 4.605 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.2154/0.3191, allocations: 50.36 MB / 400.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02754/0.3467, allocations: 10.83 MB / 411.2 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01317/0.3599, allocations: 225 kB / 411.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005663/0.3656, allocations: 2.871 MB / 414.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005591/0.3712, allocations: 1.854 MB / 416.2 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.3738, allocations: 0.9804 MB / 417.2 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009649/0.3834, allocations: 7.834 MB / 425 MB, free: 9.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005729/0.3892, allocations: 3.931 MB / 428.9 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003147/0.3924, allocations: 1.522 MB / 430.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003769/0.3962, allocations: 2.465 MB / 432.9 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001242/0.3975, allocations: 248 kB / 433.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003207/0.4007, allocations: 1.201 MB / 434.4 MB, free: 420 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002871/0.4036, allocations: 2.038 MB / 436.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004506/0.4081, allocations: 2.295 MB / 438.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007193/0.4154, allocations: 6.05 MB / 444.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.4154, allocations: 0 / 444.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4154, allocations: 0 / 444.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000299/0.4157, allocations: 0 / 444.7 MB, free: 5.996 MB / 350.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.01387/0.4296, allocations: 5.258 MB / 450 MB, free: 0.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.4297, allocations: 8.031 kB / 450 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02568/0.4554, allocations: 3.17 MB / 453.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008691/0.4641, allocations: 3.528 MB / 456.7 MB, free: 9.895 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002375/0.4644, allocations: 246.2 kB / 457 MB, free: 9.652 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001318/0.4657, allocations: 327.7 kB / 457.3 MB, free: 9.332 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01874/0.4845, allocations: 10.03 MB / 467.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002013/0.4847, allocations: 51.5 kB / 467.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001093/0.4858, allocations: 147.9 kB / 467.5 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003621/0.4894, allocations: 1.963 MB / 469.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0173/0.5068, allocations: 8.59 MB / 478 MB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05648/0.5633, allocations: 38.83 MB / 0.5048 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009346/0.5727, allocations: 3.946 MB / 0.5086 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003167/0.5759, allocations: 2.181 MB / 0.5107 GB, free: 5.656 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008391/0.5768, allocations: 0.6518 MB / 0.5114 GB, free: 4.895 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.216e-05/0.5769, allocations: 55.44 kB / 0.5114 GB, free: 4.832 MB / 430.1 MB Notification: Performance of pre-optimization done (n=166): time 5.49e-06/0.5769, allocations: 0 / 0.5114 GB, free: 4.832 MB / 430.1 MB Notification: Performance of matching and sorting (n=201): time 0.233/0.8099, allocations: 22.58 MB / 0.5335 GB, free: 151.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.193e-05/0.81, allocations: 252.8 kB / 0.5337 GB, free: 150.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006281/0.8163, allocations: 4.171 MB / 0.5378 GB, free: 150 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004007/0.8167, allocations: 57.17 kB / 0.5379 GB, free: 149.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001823/0.8186, allocations: 3.116 MB / 0.5409 GB, free: 148 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009663/0.8196, allocations: 0.7717 MB / 0.5417 GB, free: 147.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00168/0.8212, allocations: 1.256 MB / 0.5429 GB, free: 146.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.218e-05/0.8213, allocations: 305.1 kB / 0.5432 GB, free: 146.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003598/0.8249, allocations: 2.489 MB / 0.5456 GB, free: 145.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005206/0.8301, allocations: 5.984 MB / 0.5514 GB, free: 140.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008677/0.8388, allocations: 9.06 MB / 0.5603 GB, free: 133.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001414/0.839, allocations: 34.41 kB / 0.5603 GB, free: 133.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01864/0.8577, allocations: 10.55 MB / 0.5706 GB, free: 129.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.05e-05/0.8578, allocations: 61.19 kB / 0.5707 GB, free: 129.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001296/0.8579, allocations: 122.6 kB / 0.5708 GB, free: 129.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006823/0.8648, allocations: 2.592 MB / 0.5733 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003975/0.8688, allocations: 1.31 MB / 0.5746 GB, free: 126.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01967/0.8885, allocations: 17.23 MB / 0.5914 GB, free: 108.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005178/0.8937, allocations: 379.2 kB / 0.5918 GB, free: 108.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001103/0.8948, allocations: 364 kB / 0.5921 GB, free: 108 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.004624/0.8995, allocations: 2.158 MB / 0.5943 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/0.9006, allocations: 363.3 kB / 0.5946 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009354/0.91, allocations: 5.038 MB / 0.5995 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.957e-05/0.9101, allocations: 23.91 kB / 0.5995 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.683e-05/0.9101, allocations: 15.94 kB / 0.5996 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.979e-05/0.9102, allocations: 11.03 kB / 0.5996 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01955/0.9297, allocations: 10.84 MB / 0.6102 GB, free: 89.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.022e-05/0.9298, allocations: 64 / 0.6102 GB, free: 89.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/0.9312, allocations: 291.6 kB / 0.6104 GB, free: 89.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004818/0.936, allocations: 1.838 MB / 0.6122 GB, free: 87.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003531/0.9364, allocations: 32.08 kB / 0.6123 GB, free: 87.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/0.9472, allocations: 9.718 MB / 0.6217 GB, free: 77.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.9473, allocations: 6.344 kB / 0.6218 GB, free: 77.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01147/0.9587, allocations: 8.176 MB / 0.6297 GB, free: 69.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/0.9599, allocations: 420.3 kB / 0.6301 GB, free: 68.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009545/0.9609, allocations: 32 kB / 0.6302 GB, free: 68.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002032/0.9629, allocations: 139.8 kB / 0.6303 GB, free: 68.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004478/0.9634, allocations: 121.1 kB / 0.6304 GB, free: 68.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001756/0.9636, allocations: 48 kB / 0.6305 GB, free: 68.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003846/0.9674, allocations: 2.631 MB / 0.633 GB, free: 65.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.9674, allocations: 0 / 0.633 GB, free: 65.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00564/0.9731, allocations: 1.174 MB / 0.6342 GB, free: 64.68 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.000648/0.9738, allocations: 175.3 kB / 0.6343 GB, free: 64.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009174/0.9829, allocations: 6.494 MB / 0.6407 GB, free: 58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.983, allocations: 4.188 kB / 0.6407 GB, free: 58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002831/0.9858, allocations: 2.154 MB / 0.6428 GB, free: 55.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004241/0.9901, allocations: 0.5399 MB / 0.6433 GB, free: 55.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02024/1.01, allocations: 12.94 MB / 0.656 GB, free: 42.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004612/1.015, allocations: 3.422 MB / 0.6593 GB, free: 38.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/1.016, allocations: 295.4 kB / 0.6596 GB, free: 38.58 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/1.016, allocations: 3.938 kB / 0.6596 GB, free: 38.57 MB / 446.1 MB Notification: Performance of Templates: time 0.3119/1.328, allocations: 101.7 MB / 0.7589 GB, free: 85.66 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 -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