Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001329/0.001329, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.001154/0.001154, allocations: 158.3 kB / 25.45 MB, free: 9.344 MB / 18.57 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 0.8999/0.8999, allocations: 158.6 MB / 187.2 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.DoublePendulum,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.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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.391e-05/3.624e-05, allocations: 2.281 kB / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.008469/0.008505, allocations: 9.185 MB / 308.9 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007666/0.01617, allocations: 3.785 MB / 312.7 MB, free: 9.879 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.01771, allocations: 83.56 kB / 312.8 MB, free: 9.797 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002505/0.02021, allocations: 2.265 MB / 315 MB, free: 7.523 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003312/0.02352, allocations: 1.968 MB / 317 MB, free: 5.547 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.02475, allocations: 0.8343 MB / 317.8 MB, free: 4.711 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004055/0.02881, allocations: 5.492 MB / 323.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/0.03108, allocations: 2.934 MB / 326.3 MB, free: 12.22 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001942/0.03302, allocations: 2.323 MB / 328.6 MB, free: 9.895 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/0.03504, allocations: 2.365 MB / 330.9 MB, free: 7.523 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003642/0.03541, allocations: 312 kB / 331.2 MB, free: 7.219 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.03671, allocations: 1.139 MB / 332.4 MB, free: 6.078 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.03778, allocations: 2.002 MB / 334.4 MB, free: 4.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009889/0.03877, allocations: 1.219 MB / 335.6 MB, free: 2.848 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005102/0.04387, allocations: 6.854 MB / 342.5 MB, free: 11.97 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.04388, allocations: 0 / 342.5 MB, free: 11.97 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.04388, allocations: 0 / 342.5 MB, free: 11.97 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.254e-05/0.04394, allocations: 0 / 342.5 MB, free: 11.97 MB / 330.7 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.00573/0.04967, allocations: 4.799 MB / 347.3 MB, free: 7.109 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.04971, allocations: 11.98 kB / 347.3 MB, free: 7.098 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/0.06089, allocations: 3.201 MB / 350.5 MB, free: 3.891 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00493/0.06582, allocations: 3.311 MB / 353.8 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.982e-05/0.06591, allocations: 201.4 kB / 354 MB, free: 332 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000345/0.06625, allocations: 283.6 kB / 354.3 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1624/0.2286, allocations: 8.961 MB / 363.2 MB, free: 53.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.088e-05/0.2287, allocations: 46.78 kB / 363.3 MB, free: 53.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002187/0.2289, allocations: 127.9 kB / 363.4 MB, free: 53.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001731/0.2306, allocations: 1.77 MB / 365.2 MB, free: 52.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007234/0.2379, allocations: 7.758 MB / 372.9 MB, free: 48.44 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01749/0.2554, allocations: 33.75 MB / 406.7 MB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003887/0.2592, allocations: 3.313 MB / 410 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/0.2605, allocations: 2.025 MB / 412 MB, free: 8.953 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/0.2607, allocations: 98.7 kB / 412.1 MB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.2607, allocations: 51.53 kB / 412.2 MB, free: 8.801 MB / 330.7 MB Notification: Performance of pre-optimization done (n=160): time 4.127e-06/0.2607, allocations: 0 / 412.2 MB, free: 8.801 MB / 330.7 MB Notification: Performance of matching and sorting (n=190): time 0.03063/0.2914, allocations: 22.08 MB / 434.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.2915, allocations: 252.6 kB / 434.5 MB, free: 2.625 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003482/0.295, allocations: 3.977 MB / 438.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000147/0.2951, allocations: 53.7 kB / 438.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.2963, allocations: 2.88 MB / 441.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007711/0.297, allocations: 0.7512 MB / 442.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009779/0.298, allocations: 1.162 MB / 443.3 MB, free: 9.992 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.38e-05/0.2981, allocations: 305.1 kB / 443.6 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002101/0.3002, allocations: 2.385 MB / 446 MB, free: 7.301 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003793/0.304, allocations: 5.744 MB / 451.7 MB, free: 15.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006836/0.3108, allocations: 8.575 MB / 460.3 MB, free: 5.754 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.962e-05/0.3109, allocations: 36 kB / 460.3 MB, free: 5.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.01137/0.3222, allocations: 9.582 MB / 469.9 MB, free: 12.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.11e-05/0.3223, allocations: 52 kB / 470 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7e-05/0.3224, allocations: 115.9 kB / 470.1 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003/0.3254, allocations: 2.018 MB / 472.1 MB, free: 9.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002149/0.3275, allocations: 1.275 MB / 473.4 MB, free: 8.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.3378, allocations: 11.16 MB / 484.5 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003024/0.3408, allocations: 419.4 kB / 484.9 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003478/0.3412, allocations: 340 kB / 485.3 MB, free: 12.66 MB / 410.7 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.002316/0.3435, allocations: 1.951 MB / 487.2 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004712/0.344, allocations: 333.8 kB / 487.6 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005753/0.3497, allocations: 4.838 MB / 492.4 MB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/0.3498, allocations: 24 kB / 492.4 MB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.3498, allocations: 4 kB / 492.4 MB, free: 5.488 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.3498, allocations: 15.91 kB / 492.4 MB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.3606, allocations: 9.085 MB / 0.4898 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.3606, allocations: 0 / 0.4898 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006757/0.3612, allocations: 264.9 kB / 0.49 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002801/0.364, allocations: 1.846 MB / 0.4918 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/0.3642, allocations: 35.94 kB / 0.4919 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1505/0.5147, allocations: 10.22 MB / 0.5018 GB, free: 134.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5147, allocations: 2.281 kB / 0.5018 GB, free: 134.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008936/0.5236, allocations: 7.908 MB / 0.5096 GB, free: 133 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/0.5251, allocations: 0.6835 MB / 0.5102 GB, free: 132.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/0.5253, allocations: 32.31 kB / 0.5103 GB, free: 132.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.5264, allocations: 208.5 kB / 0.5105 GB, free: 132.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002845/0.5267, allocations: 117.2 kB / 0.5106 GB, free: 132.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.691e-05/0.5268, allocations: 49.84 kB / 0.5106 GB, free: 132.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00252/0.5293, allocations: 2.387 MB / 0.513 GB, free: 132 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5293, allocations: 3.188 kB / 0.513 GB, free: 132 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003236/0.5326, allocations: 1.213 MB / 0.5141 GB, free: 131.9 MB / 426.7 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.0003751/0.5329, allocations: 199.6 kB / 0.5143 GB, free: 131.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005238/0.5382, allocations: 5.566 MB / 0.5198 GB, free: 129.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5382, allocations: 0 / 0.5198 GB, free: 129.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001665/0.5398, allocations: 1.937 MB / 0.5217 GB, free: 129.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.5414, allocations: 427.6 kB / 0.5221 GB, free: 128.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008906/0.5503, allocations: 9.88 MB / 0.5317 GB, free: 123.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/0.552, allocations: 2.531 MB / 0.5342 GB, free: 121.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006915/0.5527, allocations: 270 kB / 0.5344 GB, free: 121 MB / 426.7 MB Notification: Performance of SimCode: time 1.343e-06/0.5527, allocations: 0 / 0.5344 GB, free: 121 MB / 426.7 MB Notification: Performance of Templates: time 0.05617/0.6088, allocations: 76.15 MB / 0.6088 GB, free: 45.68 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulum/DoublePendulum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 9.567278886213899]