Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.000805/0.000805, allocations: 93.67 kB / 17.31 MB, free: 5.59 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.00083/0.00083, allocations: 175.9 kB / 18.21 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.102/1.102, allocations: 223.3 MB / 242.3 MB, free: 14.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001981/0.0001981, allocations: 12 kB / 302.1 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06849/0.0687, allocations: 50.41 MB / 352.5 MB, free: 3.453 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.1634/0.2322, allocations: 49.04 MB / 401.5 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01918/0.2514, allocations: 10.76 MB / 412.3 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005975/0.2574, allocations: 224.3 kB / 412.5 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009592/0.2584, allocations: 484.9 kB / 413 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003362/0.2617, allocations: 1.858 MB / 414.9 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.263, allocations: 0.74 MB / 415.6 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006394/0.2694, allocations: 7.843 MB / 423.4 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005551/0.2749, allocations: 5.354 MB / 428.8 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.2763, allocations: 1.268 MB / 430.1 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/0.2783, allocations: 2.153 MB / 432.2 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002431/0.2786, allocations: 148 kB / 432.4 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.2801, allocations: 1.1 MB / 433.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001294/0.2814, allocations: 1.885 MB / 435.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001419/0.2828, allocations: 2.133 MB / 437.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004125/0.2869, allocations: 5.911 MB / 443.4 MB, free: 9.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2869, allocations: 0 / 443.4 MB, free: 9.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2869, allocations: 0 / 443.4 MB, free: 9.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.227e-05/0.287, allocations: 3.938 kB / 443.4 MB, free: 9.16 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: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.006457/0.2935, allocations: 4.331 MB / 447.7 MB, free: 4.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.2935, allocations: 12.03 kB / 447.7 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02488/0.3184, allocations: 3.248 MB / 451 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006336/0.3247, allocations: 3.524 MB / 454.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.3249, allocations: 242.1 kB / 454.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005696/0.3255, allocations: 335.7 kB / 455.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01244/0.3379, allocations: 10.04 MB / 465.1 MB, free: 2.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001066/0.3381, allocations: 59.48 kB / 465.2 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000334/0.3384, allocations: 151.9 kB / 465.3 MB, free: 2.453 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002897/0.3413, allocations: 1.955 MB / 467.3 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01274/0.3541, allocations: 8.617 MB / 475.9 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03504/0.3891, allocations: 38.86 MB / 0.5027 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007213/0.3964, allocations: 3.947 MB / 0.5065 GB, free: 11.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002223/0.3986, allocations: 2.179 MB / 0.5087 GB, free: 9.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005251/0.3991, allocations: 0.6516 MB / 0.5093 GB, free: 8.828 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.3992, allocations: 51.5 kB / 0.5094 GB, free: 8.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=166): time 3.847e-06/0.3992, allocations: 0 / 0.5094 GB, free: 8.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=201): time 0.05179/0.451, allocations: 22.59 MB / 0.5314 GB, free: 2.043 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.4511, allocations: 260.6 kB / 0.5317 GB, free: 1.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1395/0.5906, allocations: 4.161 MB / 0.5357 GB, free: 150.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003912/0.591, allocations: 55.42 kB / 0.5358 GB, free: 150.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001838/0.5928, allocations: 3.123 MB / 0.5388 GB, free: 149.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008127/0.5937, allocations: 0.771 MB / 0.5396 GB, free: 148.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008865/0.5946, allocations: 0.5333 MB / 0.5401 GB, free: 148.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.207e-05/0.5946, allocations: 301.1 kB / 0.5404 GB, free: 148.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003471/0.5981, allocations: 2.495 MB / 0.5428 GB, free: 147.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00465/0.6027, allocations: 5.978 MB / 0.5487 GB, free: 141.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007858/0.6106, allocations: 9.059 MB / 0.5575 GB, free: 134.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001304/0.6107, allocations: 42.12 kB / 0.5576 GB, free: 134.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01484/0.6256, allocations: 10.55 MB / 0.5679 GB, free: 131.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.922e-05/0.6257, allocations: 56.56 kB / 0.5679 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.132e-05/0.6258, allocations: 122.9 kB / 0.568 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005856/0.6316, allocations: 2.589 MB / 0.5706 GB, free: 130.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002826/0.6345, allocations: 1.31 MB / 0.5718 GB, free: 129.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01616/0.6506, allocations: 17.27 MB / 0.5887 GB, free: 112.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003352/0.654, allocations: 364.6 kB / 0.589 GB, free: 111.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003585/0.6544, allocations: 364 kB / 0.5894 GB, free: 111.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 35 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 (709): * Single equations (assignments): 703 * 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 {(3,35,100.0%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.00226/0.6566, allocations: 2.168 MB / 0.5915 GB, free: 109.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005096/0.6571, allocations: 375.2 kB / 0.5919 GB, free: 109 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007563/0.6647, allocations: 5.026 MB / 0.5968 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.6647, allocations: 26.58 kB / 0.5968 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.6648, allocations: 8 kB / 0.5968 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.6648, allocations: 7.969 kB / 0.5968 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/0.6784, allocations: 10.84 MB / 0.6074 GB, free: 93.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.6784, allocations: 4 kB / 0.6074 GB, free: 93.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.6795, allocations: 283.5 kB / 0.6077 GB, free: 92.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004229/0.6837, allocations: 1.842 MB / 0.6095 GB, free: 90.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/0.6839, allocations: 39.98 kB / 0.6095 GB, free: 90.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009739/0.6936, allocations: 9.708 MB / 0.619 GB, free: 81.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.6936, allocations: 15.53 kB / 0.619 GB, free: 81.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009777/0.7034, allocations: 8.177 MB / 0.627 GB, free: 72.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005816/0.704, allocations: 436.1 kB / 0.6274 GB, free: 72.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004473/0.7044, allocations: 32 kB / 0.6274 GB, free: 72.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/0.7059, allocations: 139.8 kB / 0.6276 GB, free: 72.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002782/0.7062, allocations: 130.4 kB / 0.6277 GB, free: 72.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.7063, allocations: 44 kB / 0.6277 GB, free: 72.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002599/0.7089, allocations: 2.631 MB / 0.6303 GB, free: 69.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.7089, allocations: 0 / 0.6303 GB, free: 69.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003492/0.7124, allocations: 1.176 MB / 0.6315 GB, free: 68.21 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 (147): * Single equations (assignments): 143 * 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 {(2,33,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003281/0.7128, allocations: 171.1 kB / 0.6316 GB, free: 68.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006866/0.7196, allocations: 6.485 MB / 0.638 GB, free: 61.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.7196, allocations: 0 / 0.638 GB, free: 61.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002147/0.7218, allocations: 2.159 MB / 0.6401 GB, free: 59.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002832/0.7246, allocations: 0.5302 MB / 0.6406 GB, free: 58.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/0.7371, allocations: 13.05 MB / 0.6533 GB, free: 45.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002749/0.7399, allocations: 3.418 MB / 0.6567 GB, free: 42.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006914/0.7406, allocations: 291.4 kB / 0.6569 GB, free: 42.01 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.7406, allocations: 0 / 0.6569 GB, free: 42.01 MB / 446.1 MB Notification: Performance of Templates: time 0.2199/0.9605, allocations: 100.8 MB / 0.7554 GB, free: 87.95 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches