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.001174/0.001175, allocations: 95.98 kB / 17.3 MB, free: 6.391 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.001408/0.001408, allocations: 173.8 kB / 18.2 MB, free: 5.551 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.47/1.47, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004591/0.000459, allocations: 12 kB / 281.4 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08665/0.08712, allocations: 47.57 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.04621/0.1334, allocations: 49.46 MB / 378.4 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.193/0.3264, allocations: 10.85 MB / 389.3 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01025/0.3367, allocations: 226.5 kB / 389.5 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.3386, allocations: 493.1 kB / 390 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005223/0.3438, allocations: 1.911 MB / 391.9 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.3456, allocations: 0.7393 MB / 392.6 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01043/0.3561, allocations: 7.511 MB / 400.1 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007847/0.364, allocations: 5.427 MB / 405.6 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002883/0.3669, allocations: 1.308 MB / 406.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003074/0.37, allocations: 2.235 MB / 409.1 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006181/0.3706, allocations: 154.5 kB / 409.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002408/0.373, allocations: 1.094 MB / 410.3 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001761/0.3748, allocations: 1.954 MB / 412.3 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002173/0.377, allocations: 2.199 MB / 414.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008552/0.3855, allocations: 7.42 MB / 421.9 MB, free: 8.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3856, allocations: 4 kB / 421.9 MB, free: 8.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.3856, allocations: 0 / 421.9 MB, free: 8.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001946/0.3858, allocations: 0 / 421.9 MB, free: 8.836 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: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.009584/0.3954, allocations: 4.426 MB / 426.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.3955, allocations: 12.03 kB / 426.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02912/0.4246, allocations: 3.27 MB / 429.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008917/0.4336, allocations: 3.673 MB / 433.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/0.4338, allocations: 244.8 kB / 433.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001156/0.435, allocations: 340 kB / 433.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01944/0.4544, allocations: 10.36 MB / 444.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001736/0.4547, allocations: 47.59 kB / 444.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005693/0.4553, allocations: 157 kB / 444.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003656/0.4589, allocations: 2.03 MB / 446.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01823/0.4772, allocations: 8.917 MB / 455.4 MB, free: 6.832 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05063/0.5278, allocations: 39.85 MB / 495.2 MB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009224/0.5371, allocations: 4.062 MB / 499.3 MB, free: 9.844 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00302/0.5402, allocations: 2.235 MB / 0.4898 GB, free: 7.602 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007305/0.5409, allocations: 0.6537 MB / 0.4904 GB, free: 6.848 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.541, allocations: 55.56 kB / 0.4905 GB, free: 6.785 MB / 414.1 MB Notification: Performance of pre-optimization done (n=175): time 5.01e-06/0.541, allocations: 0 / 0.4905 GB, free: 6.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=210): time 0.06306/0.6041, allocations: 22.96 MB / 0.5129 GB, free: 15.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.6043, allocations: 256.6 kB / 0.5131 GB, free: 15.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006199/0.6105, allocations: 4.263 MB / 0.5173 GB, free: 11.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004062/0.6109, allocations: 57.7 kB / 0.5174 GB, free: 11.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002117/0.613, allocations: 3.202 MB / 0.5205 GB, free: 7.848 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008682/0.6139, allocations: 0.7981 MB / 0.5213 GB, free: 7.055 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007142/0.6146, allocations: 0.539 MB / 0.5218 GB, free: 6.508 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.754e-05/0.6147, allocations: 305.1 kB / 0.5221 GB, free: 6.207 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003817/0.6186, allocations: 2.554 MB / 0.5246 GB, free: 3.648 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006024/0.6246, allocations: 6.123 MB / 0.5305 GB, free: 11.77 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/0.6357, allocations: 9.295 MB / 0.5396 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.375e-05/0.6358, allocations: 40 kB / 0.5397 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.185/0.8208, allocations: 10.76 MB / 0.5502 GB, free: 172.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.529e-05/0.8209, allocations: 57.84 kB / 0.5502 GB, free: 172.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001626/0.8211, allocations: 123.6 kB / 0.5503 GB, free: 172.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007591/0.8287, allocations: 2.619 MB / 0.5529 GB, free: 172.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003999/0.8327, allocations: 1.357 MB / 0.5542 GB, free: 172 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01883/0.8516, allocations: 17.21 MB / 0.571 GB, free: 163.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004218/0.8558, allocations: 374.9 kB / 0.5714 GB, free: 163.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005026/0.8563, allocations: 373.8 kB / 0.5717 GB, free: 163 MB / 462.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.002661/0.859, allocations: 2.227 MB / 0.5739 GB, free: 161.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005382/0.8595, allocations: 384.9 kB / 0.5743 GB, free: 161 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008825/0.8684, allocations: 5.154 MB / 0.5793 GB, free: 155.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.293e-05/0.8685, allocations: 20 kB / 0.5793 GB, free: 155.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.8685, allocations: 8 kB / 0.5793 GB, free: 155.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-05/0.8685, allocations: 15 kB / 0.5794 GB, free: 155.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01705/0.8856, allocations: 11.11 MB / 0.5902 GB, free: 144.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.226e-05/0.8856, allocations: 0 / 0.5902 GB, free: 144.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001447/0.8871, allocations: 310.2 kB / 0.5905 GB, free: 144.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00493/0.892, allocations: 1.853 MB / 0.5923 GB, free: 142.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003161/0.8924, allocations: 41.23 kB / 0.5924 GB, free: 142.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/0.9034, allocations: 9.691 MB / 0.6018 GB, free: 132.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.9034, allocations: 7.938 kB / 0.6018 GB, free: 132.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/0.915, allocations: 8.338 MB / 0.61 GB, free: 124.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/0.9165, allocations: 0.7857 MB / 0.6107 GB, free: 123.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000459/0.917, allocations: 36.08 kB / 0.6108 GB, free: 123.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/0.9187, allocations: 144.7 kB / 0.6109 GB, free: 123.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00036/0.919, allocations: 129.1 kB / 0.611 GB, free: 123.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/0.9192, allocations: 56.86 kB / 0.6111 GB, free: 123.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002958/0.9222, allocations: 2.684 MB / 0.6137 GB, free: 120.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9222, allocations: 4 kB / 0.6137 GB, free: 120.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004072/0.9262, allocations: 1.205 MB / 0.6149 GB, free: 119.4 MB / 462.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.0003586/0.9266, allocations: 175.4 kB / 0.6151 GB, free: 119.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007966/0.9346, allocations: 6.639 MB / 0.6215 GB, free: 112.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.9346, allocations: 3.984 kB / 0.6215 GB, free: 112.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002741/0.9374, allocations: 2.234 MB / 0.6237 GB, free: 110.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003641/0.941, allocations: 0.5314 MB / 0.6242 GB, free: 109.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/0.9559, allocations: 13.07 MB / 0.637 GB, free: 96.69 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002988/0.9589, allocations: 3.538 MB / 0.6405 GB, free: 93.12 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00418/0.9631, allocations: 1.912 MB / 0.6423 GB, free: 91.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006943/0.9639, allocations: 263.4 kB / 0.6426 GB, free: 90.95 MB / 462.1 MB Notification: Performance of SimCode: time 8.21e-07/0.9639, allocations: 0 / 0.6426 GB, free: 90.95 MB / 462.1 MB Notification: Performance of Templates: time 0.07454/1.038, allocations: 49.91 MB / 0.6913 GB, free: 41.02 MB / 462.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","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches