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.001085/0.001085, allocations: 113.2 kB / 17.73 MB, free: 5.34 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.00106/0.00106, allocations: 184.2 kB / 18.66 MB, free: 4.414 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.36/1.36, allocations: 205.1 MB / 224.5 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.00117/0.00117, allocations: 51.94 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08397/0.08515, allocations: 46.61 MB / 375.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.1793/0.2645, allocations: 12.33 MB / 387.5 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008458/0.273, allocations: 4.433 MB / 391.9 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002242/0.2753, allocations: 82.91 kB / 392 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005265/0.2806, allocations: 2.9 MB / 394.9 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005392/0.286, allocations: 2.032 MB / 396.9 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.2883, allocations: 1.048 MB / 398 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007249/0.2955, allocations: 5.328 MB / 403.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004897/0.3004, allocations: 4.055 MB / 407.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003081/0.3036, allocations: 1.778 MB / 409.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003802/0.3074, allocations: 2.4 MB / 411.5 MB, free: 9.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001035/0.3084, allocations: 383.3 kB / 411.9 MB, free: 9.801 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002619/0.3111, allocations: 1.257 MB / 413.2 MB, free: 9.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002211/0.3133, allocations: 2.21 MB / 415.4 MB, free: 7.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002531/0.3158, allocations: 2.474 MB / 417.8 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008785/0.3246, allocations: 8.001 MB / 425.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3247, allocations: 4 kB / 425.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3247, allocations: 0 / 425.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002012/0.3249, allocations: 0 / 425.9 MB, free: 12.71 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: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.01045/0.3354, allocations: 5.381 MB / 431.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3354, allocations: 8.031 kB / 431.2 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02732/0.3627, allocations: 3.197 MB / 434.4 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009072/0.3718, allocations: 3.731 MB / 438.2 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/0.3721, allocations: 250.3 kB / 438.4 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009803/0.3731, allocations: 339.7 kB / 438.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01712/0.3902, allocations: 10.34 MB / 449.1 MB, free: 4.652 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001265/0.3903, allocations: 51.58 kB / 449.1 MB, free: 4.602 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004405/0.3908, allocations: 155.9 kB / 449.3 MB, free: 4.449 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003505/0.3943, allocations: 2.033 MB / 451.3 MB, free: 2.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01784/0.4122, allocations: 8.896 MB / 460.2 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0473/0.4595, allocations: 39.63 MB / 499.8 MB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009055/0.4686, allocations: 4.061 MB / 0.4921 GB, free: 12.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002988/0.4716, allocations: 2.236 MB / 0.4943 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007204/0.4724, allocations: 0.6555 MB / 0.4949 GB, free: 9.504 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/0.4724, allocations: 51.5 kB / 0.495 GB, free: 9.445 MB / 430.1 MB Notification: Performance of pre-optimization done (n=175): time 5.29e-06/0.4724, allocations: 0 / 0.495 GB, free: 9.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=210): time 0.06166/0.5341, allocations: 22.96 MB / 0.5174 GB, free: 2.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/0.5343, allocations: 252.6 kB / 0.5176 GB, free: 2.039 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005845/0.5401, allocations: 4.263 MB / 0.5218 GB, free: 13.76 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003887/0.5406, allocations: 57.7 kB / 0.5219 GB, free: 13.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002008/0.5426, allocations: 3.202 MB / 0.525 GB, free: 10.45 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008701/0.5435, allocations: 0.8021 MB / 0.5258 GB, free: 9.637 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001686/0.5451, allocations: 1.285 MB / 0.527 GB, free: 8.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.071e-05/0.5453, allocations: 305.1 kB / 0.5273 GB, free: 8.039 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003635/0.5489, allocations: 2.55 MB / 0.5298 GB, free: 5.484 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005892/0.5548, allocations: 6.13 MB / 0.5358 GB, free: 13.59 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/0.5661, allocations: 9.283 MB / 0.5449 GB, free: 2.57 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-05/0.5663, allocations: 36 kB / 0.5449 GB, free: 2.535 MB / 478.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.215/0.7813, allocations: 10.76 MB / 0.5554 GB, free: 142.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.987e-05/0.7814, allocations: 57.91 kB / 0.5555 GB, free: 142.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000204/0.7816, allocations: 124.9 kB / 0.5556 GB, free: 142.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008707/0.7903, allocations: 2.612 MB / 0.5581 GB, free: 142.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004915/0.7953, allocations: 1.351 MB / 0.5594 GB, free: 142.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02402/0.8193, allocations: 18.59 MB / 0.5776 GB, free: 132.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005141/0.8245, allocations: 371.1 kB / 0.5779 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007552/0.8253, allocations: 367.3 kB / 0.5783 GB, free: 132.7 MB / 478.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.003259/0.8286, allocations: 2.236 MB / 0.5805 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007086/0.8293, allocations: 380.7 kB / 0.5808 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008638/0.8379, allocations: 5.158 MB / 0.5859 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.731e-05/0.838, allocations: 21.84 kB / 0.5859 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.939e-05/0.838, allocations: 7.25 kB / 0.5859 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.741e-05/0.8381, allocations: 11.91 kB / 0.5859 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/0.8546, allocations: 11.06 MB / 0.5967 GB, free: 120.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.8546, allocations: 3.938 kB / 0.5967 GB, free: 120.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/0.8559, allocations: 303.7 kB / 0.597 GB, free: 120.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004556/0.8605, allocations: 1.854 MB / 0.5988 GB, free: 118.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001513/0.8607, allocations: 36 kB / 0.5989 GB, free: 118.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01075/0.8714, allocations: 10.38 MB / 0.609 GB, free: 108.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.8714, allocations: 4 kB / 0.609 GB, free: 108.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01067/0.8821, allocations: 8.341 MB / 0.6171 GB, free: 99.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/0.8834, allocations: 0.7811 MB / 0.6179 GB, free: 98.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004623/0.8839, allocations: 32 kB / 0.6179 GB, free: 98.87 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/0.8855, allocations: 139.8 kB / 0.6181 GB, free: 98.73 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003447/0.8858, allocations: 124.7 kB / 0.6182 GB, free: 98.61 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/0.886, allocations: 57.55 kB / 0.6182 GB, free: 98.56 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00287/0.8888, allocations: 2.692 MB / 0.6209 GB, free: 95.86 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8888, allocations: 0 / 0.6209 GB, free: 95.86 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004095/0.8929, allocations: 1.212 MB / 0.6221 GB, free: 94.66 MB / 478.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.0003908/0.8933, allocations: 174.2 kB / 0.6222 GB, free: 94.48 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00784/0.9012, allocations: 6.684 MB / 0.6288 GB, free: 87.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.9012, allocations: 0 / 0.6288 GB, free: 87.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002506/0.9037, allocations: 2.237 MB / 0.6309 GB, free: 85.54 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002665/0.9064, allocations: 0.566 MB / 0.6315 GB, free: 85 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/0.9201, allocations: 10.71 MB / 0.642 GB, free: 74.27 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002723/0.9228, allocations: 3.527 MB / 0.6454 GB, free: 70.71 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003554/0.9264, allocations: 1.924 MB / 0.6473 GB, free: 68.78 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006777/0.9271, allocations: 263.4 kB / 0.6475 GB, free: 68.52 MB / 478.1 MB Notification: Performance of SimCode: time 7.01e-07/0.9271, allocations: 0 / 0.6475 GB, free: 68.52 MB / 478.1 MB Notification: Performance of Templates: time 0.06682/0.9939, allocations: 49.78 MB / 0.6961 GB, free: 18.77 MB / 478.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