Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001224/0.001224, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 64.73 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09251/0.09368, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01362/0.1073, allocations: 11.77 MB / 370.7 MB, free: 1.496 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1598/0.2672, allocations: 4.337 MB / 375 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001638/0.2688, allocations: 79.94 kB / 375.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004934/0.2738, allocations: 2.876 MB / 378 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004402/0.2782, allocations: 1.932 MB / 379.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.2805, allocations: 1.038 MB / 380.9 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008246/0.2887, allocations: 5.599 MB / 386.5 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004669/0.2934, allocations: 3.975 MB / 390.5 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002783/0.2962, allocations: 1.691 MB / 392.2 MB, free: 4.355 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002599/0.2989, allocations: 2.288 MB / 394.5 MB, free: 3.105 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006702/0.2995, allocations: 362.2 kB / 394.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.3016, allocations: 1.232 MB / 396.1 MB, free: 2.688 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001425/0.303, allocations: 2.082 MB / 398.2 MB, free: 1.473 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001918/0.3049, allocations: 2.346 MB / 400.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0082/0.3131, allocations: 7.544 MB / 408.1 MB, free: 8.117 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3132, allocations: 0 / 408.1 MB, free: 8.117 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3132, allocations: 0 / 408.1 MB, free: 8.117 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001961/0.3134, allocations: 0 / 408.1 MB, free: 8.117 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.0102/0.3236, allocations: 5.18 MB / 413.2 MB, free: 2.965 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3237, allocations: 12.02 kB / 413.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02317/0.3468, allocations: 3.16 MB / 416.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008626/0.3555, allocations: 3.52 MB / 419.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/0.3557, allocations: 237.7 kB / 420.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00108/0.3568, allocations: 330 kB / 420.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01508/0.3719, allocations: 9.848 MB / 430.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001486/0.3721, allocations: 51.55 kB / 430.4 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003806/0.3725, allocations: 149.5 kB / 430.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002988/0.3755, allocations: 1.9 MB / 432.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01499/0.3905, allocations: 8.494 MB / 440.9 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04489/0.4354, allocations: 38.2 MB / 479.1 MB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007836/0.4433, allocations: 3.949 MB / 483.1 MB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002437/0.4457, allocations: 2.194 MB / 485.3 MB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006566/0.4464, allocations: 0.6495 MB / 485.9 MB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.4464, allocations: 51.5 kB / 486 MB, free: 8.578 MB / 398.1 MB Notification: Performance of pre-optimization done (n=166): time 3.677e-06/0.4465, allocations: 0 / 486 MB, free: 8.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=201): time 0.05654/0.503, allocations: 22.52 MB / 0.4966 GB, free: 1.934 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.5031, allocations: 256.6 kB / 0.4968 GB, free: 1.629 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005549/0.5087, allocations: 4.161 MB / 0.5009 GB, free: 13.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004294/0.5092, allocations: 53.7 kB / 0.5009 GB, free: 13.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002026/0.5112, allocations: 3.08 MB / 0.5039 GB, free: 10.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000843/0.5121, allocations: 0.7632 MB / 0.5047 GB, free: 9.551 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001595/0.5137, allocations: 1.256 MB / 0.5059 GB, free: 8.285 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.5138, allocations: 301.1 kB / 0.5062 GB, free: 7.988 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003432/0.5172, allocations: 2.491 MB / 0.5086 GB, free: 5.492 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005775/0.523, allocations: 5.981 MB / 0.5145 GB, free: 13.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009721/0.5327, allocations: 9.059 MB / 0.5233 GB, free: 3.027 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-05/0.5328, allocations: 40 kB / 0.5234 GB, free: 2.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.1891/0.722, allocations: 10.54 MB / 0.5336 GB, free: 135.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.045e-05/0.7221, allocations: 57.19 kB / 0.5337 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001893/0.7223, allocations: 120.7 kB / 0.5338 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007808/0.7301, allocations: 2.59 MB / 0.5363 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003988/0.7341, allocations: 1.309 MB / 0.5376 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02064/0.7548, allocations: 18.65 MB / 0.5558 GB, free: 125.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004275/0.7591, allocations: 366.8 kB / 0.5562 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000554/0.7597, allocations: 369.8 kB / 0.5565 GB, free: 125.3 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.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.002431/0.7621, allocations: 2.129 MB / 0.5586 GB, free: 124.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005036/0.7626, allocations: 367.3 kB / 0.559 GB, free: 124.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007908/0.7705, allocations: 5.032 MB / 0.5639 GB, free: 122.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-05/0.7706, allocations: 20.44 kB / 0.5639 GB, free: 122.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.7706, allocations: 10.47 kB / 0.5639 GB, free: 122.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.7706, allocations: 11.97 kB / 0.5639 GB, free: 122.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01452/0.7852, allocations: 10.72 MB / 0.5744 GB, free: 112.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.7852, allocations: 0 / 0.5744 GB, free: 112.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.7864, allocations: 295.4 kB / 0.5747 GB, free: 112.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004571/0.791, allocations: 1.843 MB / 0.5765 GB, free: 110.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002233/0.7912, allocations: 35.81 kB / 0.5765 GB, free: 110.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/0.802, allocations: 10.4 MB / 0.5867 GB, free: 99.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.802, allocations: 3.938 kB / 0.5867 GB, free: 99.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01085/0.8129, allocations: 8.158 MB / 0.5946 GB, free: 91.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001406/0.8143, allocations: 428.1 kB / 0.595 GB, free: 91.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005359/0.8149, allocations: 32 kB / 0.5951 GB, free: 91.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/0.8165, allocations: 139.8 kB / 0.5952 GB, free: 90.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000351/0.8168, allocations: 121.1 kB / 0.5953 GB, free: 90.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001495/0.817, allocations: 52 kB / 0.5954 GB, free: 90.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00322/0.8202, allocations: 2.615 MB / 0.5979 GB, free: 88.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8202, allocations: 0 / 0.5979 GB, free: 88.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005619/0.8259, allocations: 1.159 MB / 0.5991 GB, free: 87 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.0006635/0.8265, allocations: 174.5 kB / 0.5992 GB, free: 86.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008243/0.8348, allocations: 6.504 MB / 0.6056 GB, free: 80.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.8348, allocations: 4 kB / 0.6056 GB, free: 80.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00236/0.8372, allocations: 2.155 MB / 0.6077 GB, free: 78.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002864/0.8401, allocations: 0.5547 MB / 0.6082 GB, free: 77.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.853, allocations: 10.26 MB / 0.6182 GB, free: 67.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002714/0.8557, allocations: 3.397 MB / 0.6216 GB, free: 63.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003435/0.8592, allocations: 1.873 MB / 0.6234 GB, free: 62.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006322/0.8598, allocations: 251.3 kB / 0.6236 GB, free: 61.78 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.8598, allocations: 0 / 0.6236 GB, free: 61.78 MB / 446.1 MB Notification: Performance of Templates: time 0.06505/0.9249, allocations: 46.44 MB / 0.669 GB, free: 15.67 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches