Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.DoublePendulum,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.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_3.2.3_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.001047/0.001047, allocations: 103.6 kB / 18.4 MB, free: 4.543 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.001005/0.001005, allocations: 183.1 kB / 19.33 MB, free: 3.625 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.254/1.254, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001843/0.001843, allocations: 52.39 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08336/0.08522, allocations: 46.61 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.1784/0.2637, allocations: 10.47 MB / 386.3 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006787/0.2705, allocations: 3.945 MB / 390.2 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.2723, allocations: 64.84 kB / 390.3 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003944/0.2762, allocations: 2.211 MB / 392.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00422/0.2805, allocations: 1.857 MB / 394.4 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.2821, allocations: 0.7437 MB / 395.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006463/0.2886, allocations: 4.844 MB / 400 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003658/0.2923, allocations: 2.9 MB / 402.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00269/0.295, allocations: 1.485 MB / 404.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003211/0.2982, allocations: 2.046 MB / 406.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009347/0.2992, allocations: 301.6 kB / 406.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002682/0.3018, allocations: 1.179 MB / 407.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002128/0.304, allocations: 1.866 MB / 409.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003166/0.3072, allocations: 2.07 MB / 411.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007142/0.3143, allocations: 6.686 MB / 418.5 MB, free: 4.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3143, allocations: 0 / 418.5 MB, free: 4.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3143, allocations: 0 / 418.5 MB, free: 4.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002108/0.3146, allocations: 0 / 418.5 MB, free: 4.777 MB / 334.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.009656/0.3242, allocations: 4.686 MB / 423.2 MB, free: 20 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3243, allocations: 12.03 kB / 423.2 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02595/0.3502, allocations: 3.077 MB / 426.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007169/0.3574, allocations: 3.437 MB / 429.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.3576, allocations: 197 kB / 429.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005259/0.3581, allocations: 271.8 kB / 430.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01273/0.3708, allocations: 8.859 MB / 439 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001184/0.371, allocations: 51.5 kB / 439.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000363/0.3713, allocations: 127.9 kB / 439.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002994/0.3743, allocations: 1.778 MB / 441 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01309/0.3875, allocations: 7.78 MB / 448.8 MB, free: 5.707 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0385/0.426, allocations: 35.89 MB / 484.6 MB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00803/0.434, allocations: 3.806 MB / 488.4 MB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002555/0.4366, allocations: 2.162 MB / 490.6 MB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003982/0.437, allocations: 332.2 kB / 490.9 MB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.4371, allocations: 47.56 kB / 491 MB, free: 10.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=160): time 4.369e-06/0.4371, allocations: 0 / 491 MB, free: 10.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=190): time 0.05667/0.4938, allocations: 21.44 MB / 0.5004 GB, free: 4.609 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.971e-05/0.4939, allocations: 264.6 kB / 0.5007 GB, free: 4.297 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005249/0.4991, allocations: 3.951 MB / 0.5045 GB, free: 372 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002024/0.4994, allocations: 53.7 kB / 0.5046 GB, free: 312 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001894/0.5013, allocations: 2.775 MB / 0.5073 GB, free: 13.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007597/0.502, allocations: 0.7327 MB / 0.508 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001649/0.5037, allocations: 1.174 MB / 0.5091 GB, free: 11.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.701e-05/0.5038, allocations: 309.1 kB / 0.5094 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003318/0.5071, allocations: 2.381 MB / 0.5118 GB, free: 8.871 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005234/0.5124, allocations: 5.64 MB / 0.5173 GB, free: 1.617 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009249/0.5216, allocations: 8.571 MB / 0.5256 GB, free: 7.457 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.286e-05/0.5217, allocations: 32 kB / 0.5257 GB, free: 7.426 MB / 462.1 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.01633/0.538, allocations: 9.629 MB / 0.5351 GB, free: 13.78 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.166e-05/0.5381, allocations: 52 kB / 0.5351 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001261/0.5383, allocations: 116 kB / 0.5352 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005526/0.5438, allocations: 2.018 MB / 0.5372 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00376/0.5476, allocations: 1.279 MB / 0.5385 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1766/0.7242, allocations: 11.35 MB / 0.5495 GB, free: 143.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004426/0.7286, allocations: 347.1 kB / 0.5499 GB, free: 143.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001051/0.7297, allocations: 343.1 kB / 0.5502 GB, free: 143.3 MB / 478.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.003264/0.733, allocations: 1.934 MB / 0.5521 GB, free: 143.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007517/0.7337, allocations: 348.9 kB / 0.5524 GB, free: 143.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009756/0.7435, allocations: 4.891 MB / 0.5572 GB, free: 142.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.426e-05/0.7435, allocations: 13.23 kB / 0.5572 GB, free: 142.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.7436, allocations: 3.344 kB / 0.5572 GB, free: 142.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/0.7449, allocations: 0.7258 MB / 0.5579 GB, free: 141.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006256/0.7455, allocations: 35.38 kB / 0.558 GB, free: 141.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/0.7473, allocations: 130.4 kB / 0.5581 GB, free: 141.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003631/0.7477, allocations: 137.8 kB / 0.5582 GB, free: 141.8 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01019/0.7579, allocations: 5.292 MB / 0.5634 GB, free: 140.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007288/0.7652, allocations: 6.204 MB / 0.5694 GB, free: 137.8 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001728/0.7669, allocations: 1.646 MB / 0.571 GB, free: 137.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003488/0.7704, allocations: 2.509 MB / 0.5735 GB, free: 136.4 MB / 478.1 MB Notification: Performance of Backend: time 4.11e-07/0.7704, allocations: 0 / 0.5735 GB, free: 136.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007597/0.778, allocations: 4.572 MB / 0.578 GB, free: 134.8 MB / 478.1 MB Notification: Performance of SimCode: time 0.01138/0.7894, allocations: 8.956 MB / 0.5867 GB, free: 130.8 MB / 478.1 MB Notification: Performance of Templates: time 0.06907/0.8585, allocations: 50.89 MB / 0.6364 GB, free: 82.74 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulum/DoublePendulum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches