Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.001388/0.001388, allocations: 78.25 kB / 21.24 MB, free: 0.543 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.00145/0.00145, allocations: 162.1 kB / 24.5 MB, free: 3.719 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.423/1.423, allocations: 177.1 MB / 204.7 MB, free: 8.977 MB / 190.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.DoublePendulum,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.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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 61.95 kB / 325.5 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0885/0.09043, allocations: 53.38 MB / 378.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.0115/0.1019, allocations: 9.131 MB / 388 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0091/0.111, allocations: 3.797 MB / 391.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001795/0.1128, allocations: 79.56 kB / 391.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004557/0.1174, allocations: 2.145 MB / 394.1 MB, free: 288 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004857/0.1222, allocations: 1.883 MB / 395.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.1239, allocations: 0.7487 MB / 396.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007323/0.1312, allocations: 5.261 MB / 401.9 MB, free: 8.371 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003135/0.1344, allocations: 2.393 MB / 404.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002118/0.1365, allocations: 1.503 MB / 405.8 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002897/0.1394, allocations: 2.106 MB / 408 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005498/0.1399, allocations: 304 kB / 408.2 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002026/0.1419, allocations: 1.073 MB / 409.3 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001877/0.1438, allocations: 1.878 MB / 411.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0019/0.1457, allocations: 1.518 MB / 412.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007574/0.1533, allocations: 6.693 MB / 419.4 MB, free: 6.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1533, allocations: 0 / 419.4 MB, free: 6.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1533, allocations: 0 / 419.4 MB, free: 6.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001204/0.1534, allocations: 0 / 419.4 MB, free: 6.797 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.009321/0.1627, allocations: 4.709 MB / 424.1 MB, free: 2.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1628, allocations: 11.98 kB / 424.1 MB, free: 2.016 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02757/0.1904, allocations: 3.197 MB / 427.3 MB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00874/0.1991, allocations: 3.225 MB / 430.6 MB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002085/0.1993, allocations: 197 kB / 430.7 MB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008818/0.2002, allocations: 279.8 kB / 431 MB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01545/0.2156, allocations: 8.963 MB / 440 MB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001301/0.2158, allocations: 51.64 kB / 440 MB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003559/0.2161, allocations: 127.8 kB / 440.2 MB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003271/0.2194, allocations: 1.766 MB / 441.9 MB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01487/0.2343, allocations: 7.768 MB / 449.7 MB, free: 7.707 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2288/0.4631, allocations: 33.44 MB / 483.1 MB, free: 60.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007961/0.4711, allocations: 3.321 MB / 486.5 MB, free: 60.47 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002543/0.4736, allocations: 2.027 MB / 488.5 MB, free: 59.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000339/0.4739, allocations: 101.2 kB / 488.6 MB, free: 59.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.474, allocations: 56.73 kB / 488.6 MB, free: 59.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=160): time 5.43e-06/0.474, allocations: 1.375 kB / 488.6 MB, free: 59.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=190): time 0.05018/0.5242, allocations: 21.86 MB / 0.4985 GB, free: 49.56 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.5242, allocations: 260 kB / 0.4988 GB, free: 49.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003584/0.5278, allocations: 3.7 MB / 0.5024 GB, free: 45.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002827/0.5281, allocations: 49.7 kB / 0.5024 GB, free: 45.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.5291, allocations: 2.91 MB / 0.5053 GB, free: 42.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004861/0.5296, allocations: 0.7585 MB / 0.506 GB, free: 41.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.5307, allocations: 1.183 MB / 0.5072 GB, free: 40.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.198e-05/0.5308, allocations: 305.1 kB / 0.5075 GB, free: 40.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002445/0.5332, allocations: 2.379 MB / 0.5098 GB, free: 38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003331/0.5365, allocations: 5.743 MB / 0.5154 GB, free: 30.67 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006896/0.5434, allocations: 8.574 MB / 0.5238 GB, free: 20.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.877e-05/0.5435, allocations: 40.69 kB / 0.5238 GB, free: 20.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.01394/0.5574, allocations: 9.587 MB / 0.5332 GB, free: 10.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.766e-05/0.5575, allocations: 56 kB / 0.5332 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.287e-05/0.5576, allocations: 112 kB / 0.5333 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004745/0.5623, allocations: 2.018 MB / 0.5353 GB, free: 8.789 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003467/0.5658, allocations: 1.283 MB / 0.5366 GB, free: 7.504 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/0.5794, allocations: 11.11 MB / 0.5474 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004208/0.5836, allocations: 346.1 kB / 0.5477 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007827/0.5844, allocations: 342.7 kB / 0.5481 GB, free: 11.63 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.003313/0.5877, allocations: 1.943 MB / 0.55 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007144/0.5884, allocations: 331 kB / 0.5503 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.5986, allocations: 4.829 MB / 0.555 GB, free: 4.504 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-05/0.5987, allocations: 20 kB / 0.555 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.5987, allocations: 12 kB / 0.555 GB, free: 4.473 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-05/0.5987, allocations: 11.97 kB / 0.555 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01891/0.6177, allocations: 8.926 MB / 0.5637 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/0.6177, allocations: 4.875 kB / 0.5638 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/0.6191, allocations: 267.6 kB / 0.564 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005522/0.6246, allocations: 1.838 MB / 0.5658 GB, free: 9.422 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003119/0.6249, allocations: 40 kB / 0.5658 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01579/0.6407, allocations: 10.15 MB / 0.5758 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6407, allocations: 0.75 kB / 0.5758 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01442/0.6551, allocations: 7.912 MB / 0.5835 GB, free: 7.18 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008862/0.656, allocations: 302.8 kB / 0.5838 GB, free: 6.883 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004576/0.6565, allocations: 43.36 kB / 0.5838 GB, free: 6.844 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001605/0.6581, allocations: 135.8 kB / 0.5839 GB, free: 6.711 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003754/0.6584, allocations: 113.1 kB / 0.584 GB, free: 6.602 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/0.6586, allocations: 55.55 kB / 0.5841 GB, free: 6.551 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003318/0.6619, allocations: 2.185 MB / 0.5862 GB, free: 4.375 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6619, allocations: 0 / 0.5862 GB, free: 4.375 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004734/0.6667, allocations: 1.043 MB / 0.5873 GB, free: 3.332 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 (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.0004503/0.6671, allocations: 172.2 kB / 0.5874 GB, free: 3.156 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009265/0.6764, allocations: 5.562 MB / 0.5928 GB, free: 13.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.6764, allocations: 0 / 0.5928 GB, free: 13.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003113/0.6795, allocations: 1.953 MB / 0.5948 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002388/0.6819, allocations: 419.8 kB / 0.5952 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/0.6975, allocations: 9.57 MB / 0.6045 GB, free: 1.652 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003591/0.7011, allocations: 2.542 MB / 0.607 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004065/0.7052, allocations: 1.785 MB / 0.6087 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007089/0.7059, allocations: 220.5 kB / 0.6089 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of SimCode: time 7.12e-07/0.7059, allocations: 7.938 kB / 0.6089 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of Templates: time 0.07437/0.7803, allocations: 39.67 MB / 0.6477 GB, free: 5.844 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulum/DoublePendulum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.17702369496692]