Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.00181/0.00181, allocations: 119.6 kB / 20.44 MB, free: 1.297 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.002281/0.002281, allocations: 210.5 kB / 23.74 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.DoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 47.92 kB / 378.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.257, allocations: 53.37 MB / 431.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.0132/0.2702, allocations: 10.46 MB / 442.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009418/0.2796, allocations: 4.017 MB / 446.1 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.2814, allocations: 79.56 kB / 446.2 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004643/0.286, allocations: 2.242 MB / 448.4 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005235/0.2913, allocations: 1.882 MB / 450.3 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.2932, allocations: 0.7448 MB / 451.1 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008326/0.3015, allocations: 5.264 MB / 456.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00351/0.305, allocations: 2.402 MB / 458.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002583/0.3076, allocations: 1.503 MB / 460.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004095/0.3117, allocations: 2.212 MB / 462.4 MB, free: 7.965 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008142/0.3125, allocations: 300 kB / 462.7 MB, free: 7.672 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002512/0.315, allocations: 1.213 MB / 463.9 MB, free: 6.457 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00224/0.3172, allocations: 1.885 MB / 465.8 MB, free: 4.566 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003291/0.3205, allocations: 2.043 MB / 467.9 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009639/0.3302, allocations: 6.665 MB / 474.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.3302, allocations: 0 / 474.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3302, allocations: 0 / 474.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002305/0.3304, allocations: 0 / 474.5 MB, free: 11.82 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: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01121/0.3416, allocations: 4.709 MB / 479.2 MB, free: 7.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.3417, allocations: 12.03 kB / 479.3 MB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0262/0.3679, allocations: 3.111 MB / 482.4 MB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009392/0.3773, allocations: 3.205 MB / 485.6 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002304/0.3775, allocations: 201 kB / 485.8 MB, free: 476 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00125/0.3787, allocations: 279.8 kB / 486 MB, free: 196 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01671/0.3955, allocations: 8.855 MB / 494.9 MB, free: 6.684 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001299/0.3956, allocations: 39.7 kB / 494.9 MB, free: 6.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000377/0.396, allocations: 131.9 kB / 495.1 MB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003309/0.3993, allocations: 1.774 MB / 496.8 MB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01571/0.415, allocations: 7.776 MB / 0.4928 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0497/0.4647, allocations: 35.83 MB / 0.5278 GB, free: 8.043 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008524/0.4732, allocations: 3.244 MB / 0.531 GB, free: 4.762 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00298/0.4762, allocations: 2.027 MB / 0.5329 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003634/0.4766, allocations: 96.91 kB / 0.533 GB, free: 2.633 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.75e-05/0.4766, allocations: 55.5 kB / 0.5331 GB, free: 2.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=160): time 5.791e-06/0.4766, allocations: 0 / 0.5331 GB, free: 2.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=190): time 0.2469/0.7236, allocations: 21.37 MB / 0.5539 GB, free: 95.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.315e-05/0.7236, allocations: 256.6 kB / 0.5542 GB, free: 94.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00423/0.7279, allocations: 3.931 MB / 0.558 GB, free: 91.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004482/0.7283, allocations: 52.98 kB / 0.5581 GB, free: 91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.7296, allocations: 2.887 MB / 0.5609 GB, free: 88.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005779/0.7302, allocations: 0.7589 MB / 0.5616 GB, free: 87.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001164/0.7313, allocations: 1.19 MB / 0.5628 GB, free: 86.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.137e-05/0.7314, allocations: 305.1 kB / 0.5631 GB, free: 86.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00259/0.734, allocations: 2.38 MB / 0.5654 GB, free: 83.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003613/0.7376, allocations: 5.638 MB / 0.5709 GB, free: 76.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006817/0.7444, allocations: 8.58 MB / 0.5793 GB, free: 66.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.156e-05/0.7445, allocations: 32 kB / 0.5793 GB, free: 66.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.01396/0.7584, allocations: 9.612 MB / 0.5887 GB, free: 56.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.433e-05/0.7585, allocations: 56 kB / 0.5888 GB, free: 56.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.901e-05/0.7586, allocations: 112 kB / 0.5889 GB, free: 56.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004782/0.7633, allocations: 2.024 MB / 0.5909 GB, free: 54.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003568/0.7669, allocations: 1.283 MB / 0.5921 GB, free: 53.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01232/0.7792, allocations: 11.25 MB / 0.6031 GB, free: 41.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004344/0.7836, allocations: 347.6 kB / 0.6034 GB, free: 41.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005444/0.7841, allocations: 343.3 kB / 0.6038 GB, free: 41.28 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 515 * Number of states: 0 () * Number of discrete variables: 30 (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 (688): * Single equations (assignments): 684 * 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,35,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002373/0.7865, allocations: 1.935 MB / 0.6056 GB, free: 39.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005718/0.7871, allocations: 361.6 kB / 0.606 GB, free: 38.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007949/0.795, allocations: 4.868 MB / 0.6107 GB, free: 34.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-05/0.795, allocations: 20 kB / 0.6108 GB, free: 34.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.7951, allocations: 8 kB / 0.6108 GB, free: 34.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/0.7951, allocations: 11.97 kB / 0.6108 GB, free: 34.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01524/0.8103, allocations: 9.947 MB / 0.6205 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/0.8103, allocations: 4 kB / 0.6205 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.8115, allocations: 263.6 kB / 0.6208 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004581/0.8161, allocations: 1.85 MB / 0.6226 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002331/0.8164, allocations: 28 kB / 0.6226 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01107/0.8274, allocations: 10.3 MB / 0.6326 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.8274, allocations: 4.062 kB / 0.6327 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01085/0.8383, allocations: 7.946 MB / 0.6404 GB, free: 3.535 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000878/0.8392, allocations: 353.4 kB / 0.6407 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004386/0.8396, allocations: 28 kB / 0.6408 GB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/0.8411, allocations: 135.6 kB / 0.6409 GB, free: 3.031 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003392/0.8415, allocations: 132.5 kB / 0.641 GB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/0.8416, allocations: 44 kB / 0.6411 GB, free: 2.859 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002784/0.8444, allocations: 2.48 MB / 0.6435 GB, free: 408 kB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8444, allocations: 0 / 0.6435 GB, free: 408 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.004154/0.8485, allocations: 1.051 MB / 0.6445 GB, free: 15.34 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 (136): * Single equations (assignments): 132 * 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.0004285/0.849, allocations: 181.1 kB / 0.6447 GB, free: 15.17 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009471/0.8584, allocations: 5.563 MB / 0.6501 GB, free: 9.602 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.8584, allocations: 0 / 0.6501 GB, free: 9.602 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003314/0.8618, allocations: 1.94 MB / 0.652 GB, free: 7.648 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/0.8645, allocations: 464 kB / 0.6525 GB, free: 7.203 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01701/0.8816, allocations: 9.612 MB / 0.6619 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004071/0.8856, allocations: 3.079 MB / 0.6649 GB, free: 10.45 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004413/0.89, allocations: 1.823 MB / 0.6666 GB, free: 8.613 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000829/0.8909, allocations: 235.4 kB / 0.6669 GB, free: 8.383 MB / 478.1 MB Notification: Performance of SimCode: time 9.92e-07/0.8909, allocations: 0 / 0.6669 GB, free: 8.383 MB / 478.1 MB Notification: Performance of Templates: time 0.09144/0.9823, allocations: 46.54 MB / 0.7123 GB, free: 10.14 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulum/DoublePendulum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.754466311074793]