Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.DoublePendulum,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.DoublePendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,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.DoublePendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 109.2 kB / 17.74 MB, free: 5.336 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.001832/0.001832, allocations: 188.3 kB / 18.68 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.344/1.344, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009982/0.0009984, allocations: 51.92 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2167, allocations: 49.44 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.01064/0.2273, allocations: 10.42 MB / 411.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007002/0.2344, allocations: 3.952 MB / 415.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.2354, allocations: 63.81 kB / 415.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00382/0.2393, allocations: 2.215 MB / 418.1 MB, free: 8.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003842/0.2431, allocations: 1.895 MB / 420 MB, free: 6.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.2446, allocations: 0.7448 MB / 420.7 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006158/0.2508, allocations: 5.176 MB / 425.9 MB, free: 308 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003515/0.2543, allocations: 2.883 MB / 428.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002246/0.2566, allocations: 1.483 MB / 430.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002872/0.2594, allocations: 2.044 MB / 432.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008075/0.2603, allocations: 300 kB / 432.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002349/0.2626, allocations: 1.194 MB / 433.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001988/0.2646, allocations: 1.866 MB / 435.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002781/0.2674, allocations: 2.062 MB / 437.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007201/0.2746, allocations: 6.688 MB / 444.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2747, allocations: 0 / 444.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2747, allocations: 0 / 444.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001931/0.2749, allocations: 0 / 444.4 MB, free: 13.68 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01048/0.2854, allocations: 4.673 MB / 449.1 MB, free: 8.941 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.2854, allocations: 8.031 kB / 449.1 MB, free: 8.934 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02787/0.3133, allocations: 3.088 MB / 452.2 MB, free: 5.836 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008581/0.3219, allocations: 3.334 MB / 455.5 MB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/0.3221, allocations: 201 kB / 455.7 MB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009409/0.3231, allocations: 263.8 kB / 456 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01447/0.3375, allocations: 8.859 MB / 464.8 MB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001445/0.3377, allocations: 55.5 kB / 464.9 MB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005941/0.3383, allocations: 131.9 kB / 465 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003155/0.3415, allocations: 1.774 MB / 466.8 MB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01371/0.3552, allocations: 7.78 MB / 474.6 MB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04111/0.3963, allocations: 35.87 MB / 0.4985 GB, free: 9.785 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008122/0.4045, allocations: 3.801 MB / 0.5022 GB, free: 5.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002508/0.407, allocations: 2.162 MB / 0.5043 GB, free: 3.668 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003907/0.4074, allocations: 328.2 kB / 0.5046 GB, free: 3.289 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.4075, allocations: 55.44 kB / 0.5046 GB, free: 3.227 MB / 430.1 MB Notification: Performance of pre-optimization done (n=160): time 6.241e-06/0.4075, allocations: 3.984 kB / 0.5046 GB, free: 3.223 MB / 430.1 MB Notification: Performance of matching and sorting (n=190): time 0.05812/0.4656, allocations: 21.4 MB / 0.5255 GB, free: 13.7 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.4657, allocations: 252.6 kB / 0.5258 GB, free: 13.39 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00537/0.4711, allocations: 3.942 MB / 0.5296 GB, free: 9.469 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002108/0.4713, allocations: 57.69 kB / 0.5297 GB, free: 9.406 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001698/0.4731, allocations: 2.767 MB / 0.5324 GB, free: 6.602 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000616/0.4737, allocations: 0.725 MB / 0.5331 GB, free: 5.867 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001438/0.4751, allocations: 1.174 MB / 0.5342 GB, free: 4.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.5e-05/0.4752, allocations: 309.1 kB / 0.5345 GB, free: 4.375 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003182/0.4784, allocations: 2.381 MB / 0.5369 GB, free: 1.988 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1801/0.6585, allocations: 5.638 MB / 0.5424 GB, free: 125.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007811/0.6663, allocations: 8.579 MB / 0.5508 GB, free: 119.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.969e-05/0.6664, allocations: 31.69 kB / 0.5508 GB, free: 119.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.01441/0.6808, allocations: 9.618 MB / 0.5602 GB, free: 116.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.163e-05/0.6809, allocations: 52.75 kB / 0.5602 GB, free: 116.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/0.681, allocations: 113.2 kB / 0.5603 GB, free: 116.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004976/0.686, allocations: 2.024 MB / 0.5623 GB, free: 115.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00352/0.6896, allocations: 1.281 MB / 0.5636 GB, free: 114.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01234/0.7019, allocations: 11.35 MB / 0.5746 GB, free: 103.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004238/0.7062, allocations: 351.4 kB / 0.575 GB, free: 103.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004121/0.7066, allocations: 339.8 kB / 0.5753 GB, free: 102.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 515 * Number of states: 0 () * Number of discrete variables: 30 (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 (688): * Single equations (assignments): 684 * 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,35,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00224/0.7089, allocations: 1.942 MB / 0.5772 GB, free: 101 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004772/0.7093, allocations: 347 kB / 0.5775 GB, free: 100.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008144/0.7175, allocations: 4.887 MB / 0.5823 GB, free: 95.96 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/0.7175, allocations: 8.781 kB / 0.5823 GB, free: 95.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.7175, allocations: 3.938 kB / 0.5823 GB, free: 95.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005849/0.7181, allocations: 408.7 kB / 0.5827 GB, free: 95.69 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004333/0.7186, allocations: 35.67 kB / 0.5827 GB, free: 95.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/0.7201, allocations: 139.8 kB / 0.5829 GB, free: 95.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/0.7204, allocations: 133.1 kB / 0.583 GB, free: 95.39 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008639/0.7291, allocations: 5.286 MB / 0.5882 GB, free: 90.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005879/0.735, allocations: 6.202 MB / 0.5942 GB, free: 83.91 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001547/0.7365, allocations: 1.65 MB / 0.5958 GB, free: 82.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00264/0.7392, allocations: 2.484 MB / 0.5983 GB, free: 79.8 MB / 462.1 MB Notification: Performance of Backend: time 2.91e-07/0.7392, allocations: 0 / 0.5983 GB, free: 79.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007173/0.7464, allocations: 4.574 MB / 0.6027 GB, free: 75.26 MB / 462.1 MB Notification: Performance of SimCode: time 0.009711/0.7561, allocations: 8.934 MB / 0.6115 GB, free: 66.3 MB / 462.1 MB Notification: Performance of Templates: time 0.07049/0.8266, allocations: 52.78 MB / 0.663 GB, free: 13.77 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulum/DoublePendulum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches