Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=500,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001846/0.001846, allocations: 108.7 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002092/0.002092, allocations: 207.9 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.496/1.496, allocations: 230.4 MB / 251.1 MB, free: 8.496 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 71.83 kB / 369 MB, free: 6.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2336, allocations: 53.32 MB / 422.3 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01417/0.2478, allocations: 11.82 MB / 434.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00905/0.2568, allocations: 4.373 MB / 438.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001752/0.2586, allocations: 83.69 kB / 438.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005695/0.2643, allocations: 2.9 MB / 441.5 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004975/0.2693, allocations: 1.984 MB / 443.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00249/0.2718, allocations: 1.049 MB / 444.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008302/0.2801, allocations: 5.595 MB / 450.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005788/0.2859, allocations: 3.301 MB / 453.4 MB, free: 8.574 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003306/0.2892, allocations: 1.721 MB / 455.1 MB, free: 6.848 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004072/0.2932, allocations: 2.469 MB / 457.6 MB, free: 4.371 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001163/0.2944, allocations: 360 kB / 457.9 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002909/0.2973, allocations: 1.276 MB / 459.2 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002788/0.3001, allocations: 2.131 MB / 461.3 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003907/0.304, allocations: 2.35 MB / 463.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.3151, allocations: 7.572 MB / 471.3 MB, free: 6.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.3151, allocations: 0 / 471.3 MB, free: 6.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.614e-06/0.3151, allocations: 0 / 471.3 MB, free: 6.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003043/0.3154, allocations: 0 / 471.3 MB, free: 6.637 MB / 382.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.0138/0.3292, allocations: 5.322 MB / 476.6 MB, free: 1.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3293, allocations: 12.03 kB / 476.6 MB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02428/0.3535, allocations: 3.192 MB / 479.8 MB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008073/0.3616, allocations: 3.541 MB / 483.3 MB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.3618, allocations: 238.1 kB / 483.6 MB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006858/0.3625, allocations: 327.8 kB / 483.9 MB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01574/0.3782, allocations: 9.847 MB / 493.7 MB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001257/0.3784, allocations: 51.53 kB / 493.8 MB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004068/0.3788, allocations: 147.9 kB / 493.9 MB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003306/0.3821, allocations: 1.904 MB / 495.8 MB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0167/0.3988, allocations: 8.488 MB / 0.4925 GB, free: 4.762 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04808/0.4468, allocations: 38.27 MB / 0.5299 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008788/0.4556, allocations: 3.829 MB / 0.5336 GB, free: 9.414 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002999/0.4586, allocations: 2.037 MB / 0.5356 GB, free: 7.367 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008597/0.4595, allocations: 0.6478 MB / 0.5362 GB, free: 6.609 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.098e-05/0.4596, allocations: 51.56 kB / 0.5363 GB, free: 6.551 MB / 462.1 MB Notification: Performance of pre-optimization done (n=166): time 5.14e-06/0.4596, allocations: 4 kB / 0.5363 GB, free: 6.547 MB / 462.1 MB Notification: Performance of matching and sorting (n=201): time 0.2596/0.7191, allocations: 22.73 MB / 0.5585 GB, free: 111.1 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.7192, allocations: 253.2 kB / 0.5587 GB, free: 110.9 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004196/0.7234, allocations: 4.161 MB / 0.5628 GB, free: 109.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002252/0.7236, allocations: 59.88 kB / 0.5628 GB, free: 109.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001153/0.7248, allocations: 3.208 MB / 0.566 GB, free: 106.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004789/0.7252, allocations: 0.8078 MB / 0.5668 GB, free: 105.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001188/0.7264, allocations: 1.25 MB / 0.568 GB, free: 104.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.487e-05/0.7265, allocations: 313.1 kB / 0.5683 GB, free: 104 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002605/0.7291, allocations: 2.483 MB / 0.5707 GB, free: 101.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003594/0.7327, allocations: 5.974 MB / 0.5765 GB, free: 93.88 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006659/0.7393, allocations: 9.076 MB / 0.5854 GB, free: 83.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.926e-05/0.7394, allocations: 36 kB / 0.5854 GB, free: 83.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01434/0.7537, allocations: 10.53 MB / 0.5957 GB, free: 72.55 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.745e-05/0.7538, allocations: 59.98 kB / 0.5958 GB, free: 72.49 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.77e-05/0.7538, allocations: 124 kB / 0.5959 GB, free: 72.37 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005958/0.7598, allocations: 2.588 MB / 0.5984 GB, free: 69.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003116/0.7629, allocations: 1.307 MB / 0.5997 GB, free: 68.47 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01807/0.781, allocations: 18.65 MB / 0.6179 GB, free: 49.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00421/0.7852, allocations: 363.5 kB / 0.6183 GB, free: 49.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006033/0.7858, allocations: 360 kB / 0.6186 GB, free: 48.71 MB / 462.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.00269/0.7885, allocations: 2.146 MB / 0.6207 GB, free: 46.56 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005979/0.7891, allocations: 385.4 kB / 0.6211 GB, free: 46.18 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007769/0.7969, allocations: 5 MB / 0.626 GB, free: 41.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.576e-05/0.7969, allocations: 24 kB / 0.626 GB, free: 41.14 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.7969, allocations: 8 kB / 0.626 GB, free: 41.13 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.7969, allocations: 18.52 kB / 0.626 GB, free: 41.11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/0.8113, allocations: 10.71 MB / 0.6365 GB, free: 30.37 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-05/0.8113, allocations: 0 / 0.6365 GB, free: 30.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/0.8125, allocations: 283.6 kB / 0.6367 GB, free: 30.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004587/0.8171, allocations: 1.846 MB / 0.6385 GB, free: 28.24 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002354/0.8173, allocations: 39.98 kB / 0.6386 GB, free: 28.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01068/0.828, allocations: 10.39 MB / 0.6487 GB, free: 17.65 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.828, allocations: 4.031 kB / 0.6487 GB, free: 17.65 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/0.8386, allocations: 8.162 MB / 0.6567 GB, free: 9.453 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.8397, allocations: 442.4 kB / 0.6571 GB, free: 9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000456/0.8401, allocations: 31.94 kB / 0.6571 GB, free: 8.969 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/0.8417, allocations: 139.8 kB / 0.6573 GB, free: 8.832 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003555/0.842, allocations: 128.9 kB / 0.6574 GB, free: 8.707 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/0.8421, allocations: 44 kB / 0.6574 GB, free: 8.664 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003013/0.8452, allocations: 2.615 MB / 0.66 GB, free: 6.039 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8452, allocations: 0 / 0.66 GB, free: 6.039 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004867/0.85, allocations: 1.167 MB / 0.6611 GB, free: 4.875 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 (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.0004169/0.8504, allocations: 171 kB / 0.6613 GB, free: 4.699 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008872/0.8593, allocations: 6.246 MB / 0.6674 GB, free: 14.44 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.914e-06/0.8593, allocations: 0 / 0.6674 GB, free: 14.44 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00334/0.8627, allocations: 1.996 MB / 0.6693 GB, free: 12.43 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003333/0.866, allocations: 0.5708 MB / 0.6699 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/0.8838, allocations: 10.5 MB / 0.6802 GB, free: 1.332 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004265/0.8881, allocations: 3.393 MB / 0.6835 GB, free: 13.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004271/0.8924, allocations: 1.88 MB / 0.6853 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007489/0.8931, allocations: 243.4 kB / 0.6855 GB, free: 11.78 MB / 494.1 MB Notification: Performance of SimCode: time 9.02e-07/0.8931, allocations: 0 / 0.6855 GB, free: 11.78 MB / 494.1 MB Notification: Performance of Templates: time 0.09477/0.9879, allocations: 49.76 MB / 0.7341 GB, free: 10.32 MB / 0.5294 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches