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.001233/0.001232, allocations: 103.8 kB / 17.16 MB, free: 6.32 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.001126/0.001126, allocations: 190 kB / 18.07 MB, free: 5.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.291/1.291, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001261/0.001261, allocations: 55.92 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08927/0.09055, allocations: 46.62 MB / 326.6 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.04499/0.1356, allocations: 50.78 MB / 377.4 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.196/0.3317, allocations: 10.91 MB / 388.3 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01204/0.3438, allocations: 223.6 kB / 388.5 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005843/0.3497, allocations: 2.892 MB / 391.4 MB, free: 8.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005083/0.3548, allocations: 1.907 MB / 393.3 MB, free: 8.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.3569, allocations: 0.97 MB / 394.3 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008274/0.3651, allocations: 7.517 MB / 401.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003788/0.369, allocations: 3.976 MB / 405.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002265/0.3712, allocations: 1.55 MB / 407.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002349/0.3736, allocations: 2.553 MB / 409.9 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004823/0.3741, allocations: 259.1 kB / 410.1 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.376, allocations: 1.197 MB / 411.3 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00148/0.3775, allocations: 2.096 MB / 413.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002091/0.3796, allocations: 2.363 MB / 415.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006553/0.3861, allocations: 7.636 MB / 423.4 MB, free: 6.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3862, allocations: 0 / 423.4 MB, free: 6.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3862, allocations: 8 kB / 423.4 MB, free: 6.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001319/0.3863, allocations: 0 / 423.4 MB, free: 6.211 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.01016/0.3965, allocations: 5.384 MB / 428.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3965, allocations: 8.031 kB / 428.8 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02481/0.4214, allocations: 3.191 MB / 432 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008199/0.4296, allocations: 3.667 MB / 435.7 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/0.4298, allocations: 246.5 kB / 435.9 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008732/0.4307, allocations: 346.2 kB / 436.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01535/0.4461, allocations: 10.34 MB / 446.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001154/0.4462, allocations: 51.55 kB / 446.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004027/0.4466, allocations: 155.3 kB / 446.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003233/0.4499, allocations: 2.03 MB / 448.8 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01536/0.4652, allocations: 8.902 MB / 457.7 MB, free: 3.445 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04621/0.5115, allocations: 39.83 MB / 497.6 MB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009158/0.5207, allocations: 4.058 MB / 0.4899 GB, free: 6.484 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002809/0.5235, allocations: 2.235 MB / 0.492 GB, free: 4.242 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006799/0.5242, allocations: 0.6541 MB / 0.4927 GB, free: 3.488 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.5243, allocations: 51.56 kB / 0.4927 GB, free: 3.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=175): time 4.468e-06/0.5243, allocations: 0 / 0.4927 GB, free: 3.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=210): time 0.06254/0.5868, allocations: 22.97 MB / 0.5152 GB, free: 12.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.587, allocations: 256.6 kB / 0.5154 GB, free: 12.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006453/0.5934, allocations: 4.263 MB / 0.5196 GB, free: 7.746 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003507/0.5938, allocations: 57.7 kB / 0.5196 GB, free: 7.684 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002203/0.596, allocations: 3.199 MB / 0.5227 GB, free: 4.488 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000977/0.597, allocations: 0.7901 MB / 0.5235 GB, free: 3.703 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002039/0.5991, allocations: 1.291 MB / 0.5248 GB, free: 2.402 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.783e-05/0.5992, allocations: 305.1 kB / 0.5251 GB, free: 2.102 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003866/0.603, allocations: 2.55 MB / 0.5276 GB, free: 15.55 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00621/0.6093, allocations: 6.123 MB / 0.5335 GB, free: 7.664 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.169/0.7783, allocations: 9.298 MB / 0.5426 GB, free: 171.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001558/0.7785, allocations: 35.34 kB / 0.5426 GB, free: 171.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.02311/0.8016, allocations: 10.75 MB / 0.5531 GB, free: 168.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.092e-05/0.8017, allocations: 58.03 kB / 0.5532 GB, free: 168.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001562/0.8019, allocations: 123.8 kB / 0.5533 GB, free: 168.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007218/0.8091, allocations: 2.621 MB / 0.5559 GB, free: 168.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004188/0.8134, allocations: 1.353 MB / 0.5572 GB, free: 167.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01921/0.8326, allocations: 17.2 MB / 0.574 GB, free: 159.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004316/0.8369, allocations: 379.7 kB / 0.5744 GB, free: 159.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009047/0.8379, allocations: 369.9 kB / 0.5747 GB, free: 159 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.003242/0.8411, allocations: 2.221 MB / 0.5769 GB, free: 157.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007897/0.8419, allocations: 388.5 kB / 0.5772 GB, free: 157.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008667/0.8506, allocations: 5.148 MB / 0.5823 GB, free: 152.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.099e-05/0.8507, allocations: 20 kB / 0.5823 GB, free: 152.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/0.8507, allocations: 8 kB / 0.5823 GB, free: 152.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.97e-05/0.8507, allocations: 11.97 kB / 0.5823 GB, free: 152.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01766/0.8684, allocations: 11.11 MB / 0.5932 GB, free: 141 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/0.8684, allocations: 0 / 0.5932 GB, free: 141 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/0.8699, allocations: 307.5 kB / 0.5935 GB, free: 140.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004836/0.8747, allocations: 1.858 MB / 0.5953 GB, free: 138.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000312/0.875, allocations: 39.67 kB / 0.5953 GB, free: 138.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/0.8858, allocations: 9.697 MB / 0.6048 GB, free: 129.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.8858, allocations: 4 kB / 0.6048 GB, free: 129.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01173/0.8976, allocations: 8.334 MB / 0.6129 GB, free: 120.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/0.8991, allocations: 0.7772 MB / 0.6137 GB, free: 119.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000758/0.8999, allocations: 32 kB / 0.6137 GB, free: 119.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001996/0.9019, allocations: 143.8 kB / 0.6138 GB, free: 119.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005482/0.9025, allocations: 122.6 kB / 0.614 GB, free: 119.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001833/0.9027, allocations: 59.98 kB / 0.614 GB, free: 119.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005883/0.9086, allocations: 2.684 MB / 0.6166 GB, free: 116.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.9086, allocations: 96 / 0.6166 GB, free: 116.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.009359/0.918, allocations: 1.213 MB / 0.6178 GB, free: 115.7 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.0007824/0.9188, allocations: 165.6 kB / 0.618 GB, free: 115.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01481/0.9336, allocations: 6.65 MB / 0.6245 GB, free: 108.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/0.9337, allocations: 4.25 kB / 0.6245 GB, free: 108.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005446/0.9391, allocations: 2.229 MB / 0.6267 GB, free: 106.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006124/0.9453, allocations: 0.5281 MB / 0.6272 GB, free: 106.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02729/0.9726, allocations: 12.99 MB / 0.6399 GB, free: 93.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00615/0.9788, allocations: 3.531 MB / 0.6433 GB, free: 89.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.009012/0.9879, allocations: 1.916 MB / 0.6452 GB, free: 87.58 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/0.9894, allocations: 267.4 kB / 0.6454 GB, free: 87.32 MB / 462.1 MB Notification: Performance of SimCode: time 1.192e-06/0.9894, allocations: 0 / 0.6454 GB, free: 87.32 MB / 462.1 MB Notification: Performance of Templates: time 0.1108/1.1, allocations: 50.91 MB / 0.6951 GB, free: 36.4 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