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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 84.06 kB / 21.99 MB, free: 5.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002218/0.002218, allocations: 161.8 kB / 25.25 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 158.6 MB / 187 MB, free: 6.246 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 59.92 kB / 299.4 MB, free: 6.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1894, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01357/0.203, allocations: 10.8 MB / 359.3 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0084/0.2114, allocations: 4.247 MB / 363.6 MB, free: 420 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.2127, allocations: 99.44 kB / 363.7 MB, free: 320 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00527/0.2179, allocations: 2.846 MB / 366.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003985/0.2219, allocations: 2.101 MB / 368.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.2239, allocations: 1.037 MB / 369.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006755/0.2307, allocations: 5.323 MB / 375 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003606/0.2343, allocations: 3.163 MB / 378.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.2364, allocations: 1.803 MB / 379.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00313/0.2395, allocations: 2.449 MB / 382.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005893/0.2401, allocations: 380 kB / 382.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001952/0.2421, allocations: 1.166 MB / 383.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002063/0.2441, allocations: 2.24 MB / 386.2 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001943/0.2461, allocations: 1.849 MB / 388 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008198/0.2543, allocations: 8.058 MB / 396.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2543, allocations: 8 kB / 396.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2543, allocations: 3.938 kB / 396.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001079/0.2544, allocations: 0 / 396.1 MB, free: 15.74 MB / 366.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.01049/0.2649, allocations: 5.442 MB / 401.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2649, allocations: 15.98 kB / 401.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02751/0.2924, allocations: 3.313 MB / 404.8 MB, free: 6.895 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009019/0.3014, allocations: 3.688 MB / 408.5 MB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002132/0.3017, allocations: 250.3 kB / 408.8 MB, free: 2.906 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006602/0.3023, allocations: 335.8 kB / 409.1 MB, free: 2.578 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/0.3183, allocations: 10.44 MB / 419.5 MB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/0.3184, allocations: 51.56 kB / 419.6 MB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004099/0.3188, allocations: 159.8 kB / 419.8 MB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003663/0.3225, allocations: 2.026 MB / 421.8 MB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01607/0.3386, allocations: 8.856 MB / 430.6 MB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04529/0.3839, allocations: 36.7 MB / 467.3 MB, free: 6.625 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008807/0.3927, allocations: 3.575 MB / 470.9 MB, free: 3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002859/0.3955, allocations: 2.092 MB / 473 MB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004979/0.396, allocations: 208.6 kB / 473.2 MB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.366e-05/0.3961, allocations: 51.56 kB / 473.3 MB, free: 0.6367 MB / 430.1 MB Notification: Performance of pre-optimization done (n=175): time 4.318e-06/0.3961, allocations: 0 / 473.3 MB, free: 0.6367 MB / 430.1 MB Notification: Performance of matching and sorting (n=210): time 0.217/0.6131, allocations: 23.42 MB / 496.7 MB, free: 97.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.6132, allocations: 252.6 kB / 496.9 MB, free: 97.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003941/0.6171, allocations: 4.032 MB / 0.4892 GB, free: 93.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001904/0.6173, allocations: 53.64 kB / 0.4893 GB, free: 93.15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001096/0.6184, allocations: 3.356 MB / 0.4925 GB, free: 90.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004583/0.6189, allocations: 0.8408 MB / 0.4934 GB, free: 89.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001223/0.6201, allocations: 1.29 MB / 0.4946 GB, free: 87.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.142e-05/0.6201, allocations: 301.1 kB / 0.4949 GB, free: 87.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002737/0.6229, allocations: 2.559 MB / 0.4974 GB, free: 85.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003661/0.6265, allocations: 6.219 MB / 0.5035 GB, free: 77.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007069/0.6336, allocations: 9.303 MB / 0.5126 GB, free: 66.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.28e-05/0.6336, allocations: 36 kB / 0.5126 GB, free: 66.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.01519/0.6488, allocations: 10.71 MB / 0.5231 GB, free: 55.31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.024e-05/0.6489, allocations: 60.92 kB / 0.5231 GB, free: 55.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.919e-05/0.649, allocations: 124 kB / 0.5232 GB, free: 55.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006418/0.6554, allocations: 2.605 MB / 0.5258 GB, free: 52.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/0.6587, allocations: 1.367 MB / 0.5271 GB, free: 51.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01878/0.6775, allocations: 18 MB / 0.5447 GB, free: 32.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004353/0.6818, allocations: 379.3 kB / 0.5451 GB, free: 32.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006218/0.6824, allocations: 376 kB / 0.5454 GB, free: 32.1 MB / 430.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 (731): * Single equations (assignments): 725 * 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 {(4,34,87.5%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.002446/0.6849, allocations: 2.222 MB / 0.5476 GB, free: 29.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000547/0.6854, allocations: 361.6 kB / 0.5479 GB, free: 29.51 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008501/0.6939, allocations: 5.102 MB / 0.5529 GB, free: 24.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.371e-05/0.694, allocations: 20 kB / 0.5529 GB, free: 24.37 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.694, allocations: 11.38 kB / 0.5529 GB, free: 24.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.694, allocations: 15.91 kB / 0.553 GB, free: 24.35 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/0.7088, allocations: 9.695 MB / 0.5624 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.7088, allocations: 0 / 0.5624 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/0.7101, allocations: 307.7 kB / 0.5627 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004659/0.7148, allocations: 1.854 MB / 0.5645 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001411/0.7149, allocations: 35.98 kB / 0.5646 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01123/0.7261, allocations: 10.13 MB / 0.5745 GB, free: 2.211 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.7261, allocations: 7.984 kB / 0.5745 GB, free: 2.203 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/0.7402, allocations: 8.302 MB / 0.5826 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001751/0.7419, allocations: 0.673 MB / 0.5832 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004121/0.7423, allocations: 32 kB / 0.5833 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/0.744, allocations: 143.8 kB / 0.5834 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003678/0.7444, allocations: 137 kB / 0.5835 GB, free: 8.895 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/0.7445, allocations: 51.98 kB / 0.5836 GB, free: 8.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003502/0.748, allocations: 2.368 MB / 0.5859 GB, free: 6.488 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.748, allocations: 0 / 0.5859 GB, free: 6.488 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00493/0.753, allocations: 1.199 MB / 0.5871 GB, free: 5.289 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 (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 {(3,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004471/0.7534, allocations: 182 kB / 0.5872 GB, free: 5.105 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01078/0.7642, allocations: 6.39 MB / 0.5935 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.7642, allocations: 0 / 0.5935 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003406/0.7676, allocations: 2.073 MB / 0.5955 GB, free: 12.62 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/0.7703, allocations: 0.5097 MB / 0.596 GB, free: 12.12 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/0.788, allocations: 10.91 MB / 0.6067 GB, free: 1.164 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004147/0.7921, allocations: 3.003 MB / 0.6096 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004287/0.7964, allocations: 1.871 MB / 0.6114 GB, free: 12.25 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006862/0.7971, allocations: 252.5 kB / 0.6117 GB, free: 12 MB / 478.1 MB Notification: Performance of SimCode: time 8.01e-07/0.7971, allocations: 0 / 0.6117 GB, free: 12 MB / 478.1 MB Notification: Performance of Templates: time 0.2431/1.04, allocations: 46.27 MB / 0.6568 GB, free: 168.7 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.599730470916256]