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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001409/0.001409, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001525/0.001525, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.596/1.596, allocations: 230.3 MB / 258 MB, free: 8.25 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 59.89 kB / 378.8 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2639, allocations: 53.36 MB / 432.1 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01624/0.2801, allocations: 11.87 MB / 444 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.2904, allocations: 4.384 MB / 448.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002602/0.293, allocations: 107.4 kB / 448.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006516/0.2995, allocations: 2.92 MB / 451.4 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005446/0.305, allocations: 1.977 MB / 453.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.3076, allocations: 1.06 MB / 454.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009477/0.3171, allocations: 5.604 MB / 460 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004951/0.322, allocations: 2.818 MB / 462.9 MB, free: 8.199 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003597/0.3256, allocations: 1.733 MB / 464.6 MB, free: 6.461 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004405/0.33, allocations: 2.481 MB / 467.1 MB, free: 3.973 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00126/0.3313, allocations: 360 kB / 467.4 MB, free: 3.621 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003551/0.3349, allocations: 1.272 MB / 468.7 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00308/0.3379, allocations: 2.135 MB / 470.8 MB, free: 212 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00421/0.3421, allocations: 2.346 MB / 473.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01085/0.353, allocations: 7.58 MB / 480.8 MB, free: 6.234 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.353, allocations: 0 / 480.8 MB, free: 6.234 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.353, allocations: 0 / 480.8 MB, free: 6.234 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001733/0.3532, allocations: 0 / 480.8 MB, free: 6.234 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.01349/0.3667, allocations: 5.246 MB / 486 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.3667, allocations: 8.031 kB / 486 MB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02849/0.3952, allocations: 3.189 MB / 489.2 MB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01007/0.4053, allocations: 3.453 MB / 492.7 MB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002328/0.4055, allocations: 242.1 kB / 492.9 MB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00112/0.4066, allocations: 327.8 kB / 493.2 MB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0193/0.4259, allocations: 9.839 MB / 0.4913 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001469/0.4261, allocations: 51.59 kB / 0.4913 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000455/0.4265, allocations: 151.9 kB / 0.4915 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003699/0.4302, allocations: 1.904 MB / 0.4933 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01802/0.4483, allocations: 8.487 MB / 0.5016 GB, free: 4.559 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2605/0.7088, allocations: 38.16 MB / 0.5389 GB, free: 90.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00788/0.7167, allocations: 3.373 MB / 0.5422 GB, free: 90.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/0.7187, allocations: 2.05 MB / 0.5442 GB, free: 90.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004211/0.7191, allocations: 210.7 kB / 0.5444 GB, free: 90.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.7191, allocations: 46.45 kB / 0.5444 GB, free: 90.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 3.527e-06/0.7191, allocations: 2.094 kB / 0.5444 GB, free: 90.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.05272/0.7718, allocations: 22.46 MB / 0.5663 GB, free: 79.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/0.7719, allocations: 259.3 kB / 0.5666 GB, free: 78.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004207/0.7761, allocations: 4.166 MB / 0.5707 GB, free: 74.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002841/0.7764, allocations: 53.7 kB / 0.5707 GB, free: 74.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001182/0.7776, allocations: 3.206 MB / 0.5738 GB, free: 71.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000531/0.7781, allocations: 0.8017 MB / 0.5746 GB, free: 71.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001168/0.7793, allocations: 1.262 MB / 0.5759 GB, free: 69.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.679e-05/0.7793, allocations: 305.1 kB / 0.5762 GB, free: 69.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002568/0.7819, allocations: 2.489 MB / 0.5786 GB, free: 67.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003528/0.7854, allocations: 5.973 MB / 0.5844 GB, free: 59.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006925/0.7924, allocations: 9.069 MB / 0.5933 GB, free: 48.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.626e-05/0.7924, allocations: 36 kB / 0.5933 GB, free: 48.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01529/0.8077, allocations: 10.53 MB / 0.6036 GB, free: 38.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.065e-05/0.8078, allocations: 56 kB / 0.6036 GB, free: 38.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.909e-05/0.8078, allocations: 124 kB / 0.6038 GB, free: 37.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006619/0.8145, allocations: 2.591 MB / 0.6063 GB, free: 35.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003476/0.8179, allocations: 1.31 MB / 0.6076 GB, free: 34.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01948/0.8374, allocations: 18.34 MB / 0.6255 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004285/0.8417, allocations: 371.3 kB / 0.6258 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005485/0.8422, allocations: 368 kB / 0.6262 GB, free: 14.7 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.003279/0.8455, allocations: 2.132 MB / 0.6283 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000732/0.8463, allocations: 397.3 kB / 0.6286 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008492/0.8547, allocations: 5.003 MB / 0.6335 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.907e-05/0.8548, allocations: 20 kB / 0.6336 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.8548, allocations: 8 kB / 0.6336 GB, free: 7.105 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/0.8548, allocations: 7.969 kB / 0.6336 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02044/0.8753, allocations: 10.66 MB / 0.644 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.105e-05/0.8753, allocations: 0 / 0.644 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/0.8768, allocations: 291.6 kB / 0.6443 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005852/0.8826, allocations: 1.842 MB / 0.6461 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003169/0.883, allocations: 35.83 kB / 0.6461 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0164/0.8994, allocations: 10.29 MB / 0.6561 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.8994, allocations: 4.031 kB / 0.6561 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01517/0.9145, allocations: 8.162 MB / 0.6641 GB, free: 7.617 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/0.9157, allocations: 369.3 kB / 0.6645 GB, free: 7.254 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009043/0.9166, allocations: 32 kB / 0.6645 GB, free: 7.223 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002221/0.9188, allocations: 139.8 kB / 0.6646 GB, free: 7.086 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004372/0.9193, allocations: 124.9 kB / 0.6647 GB, free: 6.965 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001832/0.9194, allocations: 56 kB / 0.6648 GB, free: 6.91 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005142/0.9246, allocations: 2.615 MB / 0.6674 GB, free: 4.285 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9246, allocations: 0 / 0.6674 GB, free: 4.285 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0058/0.9304, allocations: 1.171 MB / 0.6685 GB, free: 3.117 MB / 478.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.0006114/0.931, allocations: 159 kB / 0.6687 GB, free: 2.953 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01138/0.9424, allocations: 6.257 MB / 0.6748 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.9424, allocations: 0 / 0.6748 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003773/0.9462, allocations: 1.999 MB / 0.6767 GB, free: 10.67 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004725/0.9509, allocations: 0.5669 MB / 0.6773 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02098/0.9719, allocations: 10.49 MB / 0.6875 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004561/0.9764, allocations: 3.389 MB / 0.6908 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004484/0.9809, allocations: 1.876 MB / 0.6927 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000815/0.9817, allocations: 251.4 kB / 0.6929 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/0.9817, allocations: 0 / 0.6929 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.3006/1.282, allocations: 53.17 MB / 0.7448 GB, free: 176.2 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 7.142622490413487]