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.000871/0.0008711, allocations: 98.52 kB / 16.94 MB, free: 5.984 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.000873/0.000873, allocations: 178.9 kB / 17.82 MB, free: 5.652 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.266/1.266, allocations: 205.4 MB / 224 MB, free: 13.16 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.0006725/0.0006726, allocations: 15.28 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0956/0.09629, allocations: 47.58 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.04054/0.1369, allocations: 43.47 MB / 371.8 MB, free: 8.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1991/0.3361, allocations: 10.79 MB / 382.6 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008448/0.3446, allocations: 220.6 kB / 382.8 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006541/0.3511, allocations: 2.147 MB / 384.9 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02271/0.3739, allocations: 6.343 MB / 391.3 MB, free: 8.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003531/0.3774, allocations: 0.72 MB / 392 MB, free: 8.523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03504/0.4125, allocations: 26.53 MB / 418.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007913/0.4205, allocations: 4.657 MB / 423.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002608/0.4231, allocations: 1.165 MB / 424.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0028/0.4259, allocations: 1.554 MB / 425.9 MB, free: 9.867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001013/0.427, allocations: 160 kB / 426.1 MB, free: 9.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00272/0.4297, allocations: 0.9211 MB / 427 MB, free: 8.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002192/0.4319, allocations: 1.765 MB / 428.8 MB, free: 7.715 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001959/0.4339, allocations: 0.9198 MB / 429.7 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007384/0.4413, allocations: 6.454 MB / 436.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4413, allocations: 2.375 kB / 436.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.4413, allocations: 0 / 436.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002718/0.4416, allocations: 4 kB / 436.1 MB, free: 1.785 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.01254/0.4542, allocations: 4.816 MB / 441 MB, free: 13.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4542, allocations: 16.03 kB / 441 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1647/0.6189, allocations: 14.58 MB / 455.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01152/0.6305, allocations: 4.003 MB / 459.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003017/0.6309, allocations: 249.9 kB / 459.8 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001743/0.6326, allocations: 338.8 kB / 460.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02227/0.6549, allocations: 10.29 MB / 470.4 MB, free: 4.227 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002545/0.6552, allocations: 49.53 kB / 470.5 MB, free: 4.199 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001331/0.6566, allocations: 165.6 kB / 470.6 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00387/0.6605, allocations: 2.021 MB / 472.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01855/0.679, allocations: 8.729 MB / 481.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.057/0.7361, allocations: 39.45 MB / 0.5086 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009255/0.7454, allocations: 4.001 MB / 0.5125 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007397/0.7462, allocations: 0.6546 MB / 0.5132 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.528e-05/0.7462, allocations: 51.5 kB / 0.5132 GB, free: 12.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=175): time 4.579e-06/0.7462, allocations: 0 / 0.5132 GB, free: 12.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=210): time 0.06182/0.8081, allocations: 21.85 MB / 0.5345 GB, free: 6.734 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001864/0.8083, allocations: 260.6 kB / 0.5348 GB, free: 6.426 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/0.8185, allocations: 4.506 MB / 0.5392 GB, free: 1.898 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000473/0.819, allocations: 57.7 kB / 0.5393 GB, free: 1.836 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1853/1.004, allocations: 3.245 MB / 0.5424 GB, free: 163.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00126/1.006, allocations: 0.793 MB / 0.5432 GB, free: 162.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00037/1.006, allocations: 120 kB / 0.5433 GB, free: 162.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003315/1.006, allocations: 0.5571 MB / 0.5439 GB, free: 162.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004091/1.01, allocations: 2.313 MB / 0.5461 GB, free: 162.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005016/1.015, allocations: 5.841 MB / 0.5518 GB, free: 157.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005416/1.021, allocations: 3.61 MB / 0.5553 GB, free: 156 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-05/1.021, allocations: 36.53 kB / 0.5554 GB, free: 156 MB / 446.1 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.01643/1.037, allocations: 9.724 MB / 0.5649 GB, free: 152.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.231e-05/1.037, allocations: 60.86 kB / 0.5649 GB, free: 152.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001267/1.038, allocations: 121.3 kB / 0.565 GB, free: 152.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005112/1.043, allocations: 2.114 MB / 0.5671 GB, free: 152.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003542/1.046, allocations: 1.295 MB / 0.5684 GB, free: 151.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01717/1.063, allocations: 16.38 MB / 0.5844 GB, free: 138.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005193/1.069, allocations: 343.5 kB / 0.5847 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006025/1.069, allocations: 365.5 kB / 0.585 GB, free: 138.1 MB / 446.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 (693): * Single equations (assignments): 687 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,88.9%) 35,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.003221/1.073, allocations: 2.23 MB / 0.5872 GB, free: 135.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005784/1.073, allocations: 387 kB / 0.5876 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006608/1.08, allocations: 4.403 MB / 0.5919 GB, free: 131 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.869e-05/1.08, allocations: 29.02 kB / 0.5919 GB, free: 131 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/1.08, allocations: 10.11 kB / 0.5919 GB, free: 131 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/1.08, allocations: 11.97 kB / 0.5919 GB, free: 131 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01509/1.095, allocations: 10.39 MB / 0.6021 GB, free: 120.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/1.095, allocations: 0 / 0.6021 GB, free: 120.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/1.096, allocations: 311.7 kB / 0.6024 GB, free: 120.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00332/1.1, allocations: 1.352 MB / 0.6037 GB, free: 118.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001502/1.1, allocations: 38.34 kB / 0.6037 GB, free: 118.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009399/1.109, allocations: 8.656 MB / 0.6122 GB, free: 110.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.109, allocations: 0 / 0.6122 GB, free: 110.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009574/1.119, allocations: 7.55 MB / 0.6196 GB, free: 102.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002281/1.121, allocations: 0.7576 MB / 0.6203 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005493/1.122, allocations: 36.69 kB / 0.6203 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/1.123, allocations: 130.1 kB / 0.6205 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003472/1.124, allocations: 132.1 kB / 0.6206 GB, free: 101.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/1.124, allocations: 52 kB / 0.6206 GB, free: 101.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003645/1.127, allocations: 2.885 MB / 0.6235 GB, free: 98.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.71e-07/1.127, allocations: 0 / 0.6235 GB, free: 98.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00592/1.133, allocations: 1.169 MB / 0.6246 GB, free: 97.27 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,72.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006458/1.134, allocations: 201.9 kB / 0.6248 GB, free: 97.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01112/1.145, allocations: 6.159 MB / 0.6308 GB, free: 90.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/1.145, allocations: 3.984 kB / 0.6308 GB, free: 90.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004263/1.149, allocations: 2.274 MB / 0.633 GB, free: 88.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003014/1.153, allocations: 0.5096 MB / 0.6335 GB, free: 88.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/1.169, allocations: 12.24 MB / 0.6455 GB, free: 75.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003068/1.172, allocations: 3.635 MB / 0.649 GB, free: 72.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004302/1.177, allocations: 1.928 MB / 0.6509 GB, free: 70.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000684/1.178, allocations: 259.4 kB / 0.6512 GB, free: 69.97 MB / 446.1 MB Notification: Performance of SimCode: time 1.333e-06/1.178, allocations: 0 / 0.6512 GB, free: 69.97 MB / 446.1 MB Notification: Performance of Templates: time 0.06772/1.245, allocations: 47.93 MB / 0.698 GB, free: 22.03 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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