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.001601/0.001601, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001953/0.001953, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.314/1.314, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 53.8 kB / 302.1 MB, free: 5.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09915/0.1002, allocations: 49.44 MB / 351.5 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01273/0.113, allocations: 11.9 MB / 363.4 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00894/0.122, allocations: 4.351 MB / 367.7 MB, free: 3.336 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002136/0.1242, allocations: 83.69 kB / 367.8 MB, free: 3.254 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005549/0.1298, allocations: 2.893 MB / 370.7 MB, free: 360 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2015/0.3313, allocations: 1.96 MB / 372.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.3341, allocations: 1.038 MB / 373.7 MB, free: 10 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008851/0.343, allocations: 5.562 MB / 379.3 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004847/0.3479, allocations: 3.987 MB / 383.3 MB, free: 9.312 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003166/0.3511, allocations: 1.715 MB / 385 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003122/0.3542, allocations: 2.312 MB / 387.3 MB, free: 8.051 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007013/0.3549, allocations: 372.2 kB / 387.7 MB, free: 8.047 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.3572, allocations: 1.249 MB / 388.9 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001747/0.3589, allocations: 2.127 MB / 391 MB, free: 6.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002069/0.361, allocations: 2.392 MB / 393.4 MB, free: 5.043 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005925/0.3669, allocations: 7.725 MB / 401.2 MB, free: 15.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.367, allocations: 0 / 401.2 MB, free: 15.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.367, allocations: 0 / 401.2 MB, free: 15.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001571/0.3671, allocations: 0 / 401.2 MB, free: 15.59 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: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.01229/0.3794, allocations: 5.243 MB / 406.4 MB, free: 10.38 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3795, allocations: 11.89 kB / 406.4 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02337/0.4029, allocations: 3.174 MB / 409.6 MB, free: 7.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009251/0.4121, allocations: 3.589 MB / 413.2 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/0.4124, allocations: 243.4 kB / 413.4 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001018/0.4134, allocations: 337.6 kB / 413.7 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01588/0.4293, allocations: 10.02 MB / 423.8 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001241/0.4294, allocations: 43.56 kB / 423.8 MB, free: 8.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003978/0.4298, allocations: 154 kB / 424 MB, free: 8.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003038/0.4329, allocations: 1.961 MB / 425.9 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01475/0.4476, allocations: 8.584 MB / 434.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04759/0.4953, allocations: 38.66 MB / 473.2 MB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007841/0.5031, allocations: 3.928 MB / 477.1 MB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002446/0.5056, allocations: 2.2 MB / 479.3 MB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006461/0.5063, allocations: 0.6486 MB / 479.9 MB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.5063, allocations: 51.55 kB / 480 MB, free: 15.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=166): time 3.667e-06/0.5063, allocations: 3.75 kB / 480 MB, free: 15.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=201): time 0.05698/0.5633, allocations: 22.58 MB / 0.4908 GB, free: 8.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.5635, allocations: 256.6 kB / 0.491 GB, free: 8.125 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005521/0.569, allocations: 4.173 MB / 0.4951 GB, free: 3.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004447/0.5695, allocations: 59.44 kB / 0.4952 GB, free: 3.867 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001991/0.5715, allocations: 3.114 MB / 0.4982 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009253/0.5724, allocations: 0.7724 MB / 0.499 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001606/0.574, allocations: 1.251 MB / 0.5002 GB, free: 14.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.219e-05/0.5741, allocations: 305.1 kB / 0.5005 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003334/0.5775, allocations: 2.491 MB / 0.5029 GB, free: 11.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005411/0.5829, allocations: 5.977 MB / 0.5087 GB, free: 4.234 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009706/0.5926, allocations: 9.07 MB / 0.5176 GB, free: 9.492 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.612e-05/0.5927, allocations: 32 kB / 0.5176 GB, free: 9.461 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.2132/0.8059, allocations: 10.55 MB / 0.5279 GB, free: 138.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001867/0.8061, allocations: 57.28 kB / 0.528 GB, free: 138.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002968/0.8064, allocations: 121.3 kB / 0.5281 GB, free: 138.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008428/0.8149, allocations: 2.594 MB / 0.5306 GB, free: 138.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004357/0.8192, allocations: 1.307 MB / 0.5319 GB, free: 138.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0244/0.8437, allocations: 18.64 MB / 0.5501 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004896/0.8486, allocations: 363.7 kB / 0.5505 GB, free: 130.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008134/0.8494, allocations: 361.5 kB / 0.5508 GB, free: 130.4 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.003636/0.8531, allocations: 2.164 MB / 0.5529 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007393/0.8538, allocations: 371.6 kB / 0.5533 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008492/0.8623, allocations: 5.037 MB / 0.5582 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.453e-05/0.8624, allocations: 19.62 kB / 0.5582 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.126e-05/0.8624, allocations: 9.344 kB / 0.5582 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-05/0.8625, allocations: 10.92 kB / 0.5582 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01853/0.881, allocations: 10.78 MB / 0.5688 GB, free: 123.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/0.881, allocations: 7.812 kB / 0.5688 GB, free: 123.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/0.8823, allocations: 278 kB / 0.569 GB, free: 123 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004729/0.887, allocations: 1.847 MB / 0.5708 GB, free: 121.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002517/0.8873, allocations: 36.88 kB / 0.5709 GB, free: 121.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/0.8981, allocations: 10.4 MB / 0.581 GB, free: 110.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.8982, allocations: 0 / 0.581 GB, free: 110.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/0.9096, allocations: 8.173 MB / 0.589 GB, free: 102.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/0.9112, allocations: 432.4 kB / 0.5894 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006476/0.9118, allocations: 39.16 kB / 0.5895 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/0.9135, allocations: 135.1 kB / 0.5896 GB, free: 102.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003753/0.9139, allocations: 117.1 kB / 0.5897 GB, free: 102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/0.9141, allocations: 52 kB / 0.5898 GB, free: 101.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003248/0.9173, allocations: 2.623 MB / 0.5923 GB, free: 99.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9173, allocations: 1.781 kB / 0.5923 GB, free: 99.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005173/0.9225, allocations: 1.185 MB / 0.5935 GB, free: 98.11 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.0004106/0.923, allocations: 161.7 kB / 0.5936 GB, free: 97.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008681/0.9316, allocations: 6.525 MB / 0.6 GB, free: 91.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.9317, allocations: 0 / 0.6 GB, free: 91.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00253/0.9342, allocations: 2.155 MB / 0.6021 GB, free: 89.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003109/0.9374, allocations: 0.571 MB / 0.6027 GB, free: 88.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/0.9514, allocations: 10.39 MB / 0.6128 GB, free: 78.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003051/0.9545, allocations: 3.438 MB / 0.6162 GB, free: 74.83 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003501/0.958, allocations: 1.88 MB / 0.618 GB, free: 72.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000652/0.9587, allocations: 247.4 kB / 0.6182 GB, free: 72.7 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.9587, allocations: 0 / 0.6182 GB, free: 72.7 MB / 446.1 MB Notification: Performance of Templates: time 0.06783/1.026, allocations: 46.72 MB / 0.6639 GB, free: 26.34 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 -s cvode -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