Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001425, allocations: 103.2 kB / 17.58 MB, free: 5.422 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.001508/0.001507, allocations: 191.9 kB / 18.5 MB, free: 4.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 55.92 kB / 280.7 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09908/0.1005, allocations: 46.63 MB / 327.3 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01524/0.1158, allocations: 12.32 MB / 339.6 MB, free: 8.102 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00918/0.125, allocations: 4.434 MB / 344 MB, free: 3.652 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/0.127, allocations: 83.69 kB / 344.1 MB, free: 3.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005055/0.1321, allocations: 2.9 MB / 347 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004387/0.1365, allocations: 2.027 MB / 349 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.1387, allocations: 1.053 MB / 350.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007603/0.1463, allocations: 5.346 MB / 355.4 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006221/0.1526, allocations: 4.047 MB / 359.5 MB, free: 4.098 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003371/0.156, allocations: 1.756 MB / 361.3 MB, free: 2.336 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004205/0.1602, allocations: 2.399 MB / 363.6 MB, free: 15.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00129/0.1616, allocations: 384 kB / 364 MB, free: 15.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003153/0.1647, allocations: 1.256 MB / 365.3 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003198/0.1679, allocations: 2.194 MB / 367.5 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005038/0.173, allocations: 2.47 MB / 369.9 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009488/0.1825, allocations: 7.757 MB / 377.7 MB, free: 1.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1826, allocations: 0 / 377.7 MB, free: 1.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.1826, allocations: 0 / 377.7 MB, free: 1.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001073/0.1827, allocations: 3.938 kB / 377.7 MB, free: 1.828 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: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.1522/0.3348, allocations: 5.368 MB / 383.1 MB, free: 50.04 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.3349, allocations: 9.984 kB / 383.1 MB, free: 50.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02787/0.3628, allocations: 3.192 MB / 386.3 MB, free: 49.63 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009087/0.3719, allocations: 3.679 MB / 390 MB, free: 47.47 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/0.3722, allocations: 245 kB / 390.2 MB, free: 47.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001318/0.3735, allocations: 337.9 kB / 390.5 MB, free: 47.3 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01513/0.3887, allocations: 10.35 MB / 400.9 MB, free: 39.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001129/0.3888, allocations: 47.59 kB / 400.9 MB, free: 39.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004114/0.3892, allocations: 155.9 kB / 401.1 MB, free: 39.35 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002789/0.392, allocations: 2.026 MB / 403.1 MB, free: 37.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01391/0.406, allocations: 8.901 MB / 412 MB, free: 28.4 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04581/0.4518, allocations: 39.83 MB / 451.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009309/0.4612, allocations: 4.047 MB / 455.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003046/0.4643, allocations: 2.236 MB / 458.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007527/0.465, allocations: 0.6519 MB / 458.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/0.4651, allocations: 59.48 kB / 458.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=175): time 4.889e-06/0.4651, allocations: 0 / 458.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=210): time 0.06619/0.5313, allocations: 22.95 MB / 481.8 MB, free: 5.141 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001736/0.5315, allocations: 252.6 kB / 482 MB, free: 4.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00804/0.5396, allocations: 4.267 MB / 486.3 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005945/0.5402, allocations: 53.7 kB / 486.3 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00282/0.5431, allocations: 3.198 MB / 489.5 MB, free: 13.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001381/0.5445, allocations: 0.8021 MB / 490.3 MB, free: 12.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003188/0.5477, allocations: 1.289 MB / 491.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.5478, allocations: 301.1 kB / 491.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00404/0.5518, allocations: 2.558 MB / 494.5 MB, free: 8.281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006981/0.5589, allocations: 6.126 MB / 0.4889 GB, free: 404 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01103/0.5699, allocations: 9.296 MB / 0.498 GB, free: 5.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.683e-05/0.57, allocations: 36 kB / 0.498 GB, free: 5.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.02239/0.5924, allocations: 10.76 MB / 0.5085 GB, free: 10.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001887/0.5927, allocations: 60.97 kB / 0.5086 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002376/0.5929, allocations: 124 kB / 0.5087 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007721/0.6007, allocations: 2.623 MB / 0.5112 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00438/0.6051, allocations: 1.361 MB / 0.5126 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02533/0.6304, allocations: 18.6 MB / 0.5307 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005596/0.6361, allocations: 367.4 kB / 0.5311 GB, free: 2.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/0.6373, allocations: 372 kB / 0.5314 GB, free: 2.617 MB / 430.1 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 {(4,34,87.5%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.004943/0.6423, allocations: 2.232 MB / 0.5336 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1725/0.8148, allocations: 384.9 kB / 0.534 GB, free: 143.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01426/0.8291, allocations: 5.145 MB / 0.539 GB, free: 143 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.499e-05/0.8292, allocations: 23.33 kB / 0.539 GB, free: 143 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.087e-05/0.8293, allocations: 7.5 kB / 0.539 GB, free: 143 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-05/0.8294, allocations: 14.55 kB / 0.539 GB, free: 143 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0232/0.8526, allocations: 11.11 MB / 0.5499 GB, free: 139.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.805e-05/0.8526, allocations: 0 / 0.5499 GB, free: 139.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/0.8541, allocations: 305.8 kB / 0.5502 GB, free: 139.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00468/0.8588, allocations: 1.86 MB / 0.552 GB, free: 138.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000346/0.8591, allocations: 38.69 kB / 0.552 GB, free: 138.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/0.8711, allocations: 10.39 MB / 0.5622 GB, free: 133.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.8711, allocations: 3.875 kB / 0.5622 GB, free: 133.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01191/0.883, allocations: 8.342 MB / 0.5703 GB, free: 126.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002307/0.8854, allocations: 0.7713 MB / 0.5711 GB, free: 125.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001198/0.8866, allocations: 43.86 kB / 0.5711 GB, free: 125.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002543/0.8892, allocations: 147.7 kB / 0.5713 GB, free: 125.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004564/0.8896, allocations: 117.1 kB / 0.5714 GB, free: 125.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/0.8898, allocations: 55.98 kB / 0.5714 GB, free: 125.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003799/0.8936, allocations: 2.684 MB / 0.5741 GB, free: 122.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.8936, allocations: 0 / 0.5741 GB, free: 122.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005815/0.8994, allocations: 1.209 MB / 0.5752 GB, free: 121.6 MB / 430.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 (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.0005064/0.9, allocations: 176.4 kB / 0.5754 GB, free: 121.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01096/0.9109, allocations: 8.023 MB / 0.5832 GB, free: 113.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.911, allocations: 7.938 kB / 0.5832 GB, free: 113.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002745/0.9137, allocations: 2.232 MB / 0.5854 GB, free: 111.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003491/0.9172, allocations: 0.5615 MB / 0.586 GB, free: 110.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/0.9336, allocations: 10.85 MB / 0.5966 GB, free: 99.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00283/0.9364, allocations: 3.537 MB / 0.6 GB, free: 96.37 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003944/0.9404, allocations: 1.917 MB / 0.6019 GB, free: 94.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005984/0.941, allocations: 259.4 kB / 0.6021 GB, free: 94.19 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.941, allocations: 0 / 0.6021 GB, free: 94.19 MB / 430.1 MB Notification: Performance of Templates: time 0.06821/1.009, allocations: 52.89 MB / 0.6538 GB, free: 41.32 MB / 430.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches