Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001382/0.001382, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001553/0.001553, allocations: 169.9 kB / 24.91 MB, free: 9.191 MB / 18.57 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 0.956/0.956, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.DoublePendulumInitTip,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.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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 273.5 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.727e-05, allocations: 2.312 kB / 273.5 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.008419/0.008436, allocations: 11.14 MB / 284.6 MB, free: 6.121 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006692/0.01513, allocations: 4.412 MB / 289 MB, free: 1.691 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.0163, allocations: 99.44 kB / 289.1 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1055/0.1218, allocations: 3.06 MB / 292.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004175/0.126, allocations: 2.085 MB / 294.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.1277, allocations: 1.159 MB / 295.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005994/0.1337, allocations: 6.322 MB / 301.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004044/0.1377, allocations: 3.786 MB / 305.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003998/0.1417, allocations: 3.601 MB / 309.1 MB, free: 9.852 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002538/0.1443, allocations: 2.5 MB / 311.6 MB, free: 8.641 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007218/0.145, allocations: 375.4 kB / 312 MB, free: 8.609 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.1463, allocations: 1.188 MB / 313.2 MB, free: 7.477 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.1473, allocations: 2.247 MB / 315.4 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.1484, allocations: 1.399 MB / 316.8 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003061/0.1514, allocations: 5.017 MB / 321.8 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.1514, allocations: 0 / 321.8 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1514, allocations: 0 / 321.8 MB, free: 15.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.271e-05/0.1515, allocations: 0 / 321.8 MB, free: 15.27 MB / 282.7 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.005005/0.1565, allocations: 4.844 MB / 326.7 MB, free: 10.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1565, allocations: 8.031 kB / 326.7 MB, free: 10.76 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003598/0.1601, allocations: 1.312 MB / 328 MB, free: 9.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002683/0.1628, allocations: 2.316 MB / 330.3 MB, free: 7.301 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.1629, allocations: 236.5 kB / 330.5 MB, free: 7.102 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003556/0.1633, allocations: 325.6 kB / 330.9 MB, free: 6.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004483/0.1677, allocations: 4.894 MB / 335.8 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.763e-05/0.1678, allocations: 53.94 kB / 335.8 MB, free: 1.656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003199/0.1681, allocations: 157 kB / 336 MB, free: 1.539 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001343/0.1695, allocations: 1.639 MB / 337.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003394/0.1729, allocations: 2.407 MB / 340 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02007/0.193, allocations: 29.67 MB / 369.7 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002846/0.1958, allocations: 1.355 MB / 371 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003854/0.1962, allocations: 331.9 kB / 371.4 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004175/0.2004, allocations: 3.418 MB / 374.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.2004, allocations: 51.09 kB / 374.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 3.336e-06/0.2004, allocations: 0 / 374.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=143): time 0.01325/0.2136, allocations: 5.905 MB / 380.7 MB, free: 4.516 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/0.2137, allocations: 248.3 kB / 381 MB, free: 4.219 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002355/0.2161, allocations: 3.322 MB / 384.3 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.885e-05/0.2161, allocations: 45.7 kB / 384.3 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001189/0.2173, allocations: 3.07 MB / 387.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003959/0.2177, allocations: 0.6009 MB / 388 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008445/0.2186, allocations: 1.136 MB / 389.1 MB, free: 11.99 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.802e-05/0.2186, allocations: 301.1 kB / 389.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/0.2197, allocations: 0.7227 MB / 390.2 MB, free: 10.96 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002497/0.2222, allocations: 4.356 MB / 394.5 MB, free: 4.746 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003618/0.2258, allocations: 5.507 MB / 400 MB, free: 13.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.736e-05/0.2258, allocations: 36 kB / 400.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.004621/0.2305, allocations: 4.225 MB / 404.3 MB, free: 9.129 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.628e-05/0.2305, allocations: 60 kB / 404.3 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/0.2306, allocations: 132 kB / 404.5 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/0.2321, allocations: 0.6562 MB / 405.1 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002203/0.2343, allocations: 1.294 MB / 406.4 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004771/0.239, allocations: 5.376 MB / 411.8 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/0.2414, allocations: 271.7 kB / 412.1 MB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002581/0.2416, allocations: 308 kB / 412.4 MB, free: 0.7578 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * 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 (723): * Single equations (assignments): 717 * 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 {(2,9,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001105/0.2427, allocations: 0.599 MB / 413 MB, free: 148 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002989/0.243, allocations: 219.8 kB / 413.2 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.2441, allocations: 0.8477 MB / 414 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.2442, allocations: 16 kB / 414 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2442, allocations: 4 kB / 414 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.2442, allocations: 3.984 kB / 414 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004454/0.2486, allocations: 3.988 MB / 418 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.2486, allocations: 8 kB / 418 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004604/0.2491, allocations: 199.8 kB / 418.2 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000743/0.2498, allocations: 413.1 kB / 418.6 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.889e-05/0.2499, allocations: 35.98 kB / 418.7 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/0.2514, allocations: 1.897 MB / 420.6 MB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.2514, allocations: 11.94 kB / 420.6 MB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.253, allocations: 1.78 MB / 422.4 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003577/0.2534, allocations: 341.5 kB / 422.7 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002138/0.2536, allocations: 31.98 kB / 422.7 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000607/0.2542, allocations: 35.98 kB / 422.8 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.2543, allocations: 112.3 kB / 422.9 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.517e-05/0.2544, allocations: 39.98 kB / 422.9 MB, free: 5.781 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001/0.2554, allocations: 1.248 MB / 424.2 MB, free: 4.551 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2554, allocations: 0 / 424.2 MB, free: 4.551 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002894/0.2583, allocations: 1.062 MB / 425.2 MB, free: 3.488 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (revolute1.w,damper.phi_rel,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 (116): * Single equations (assignments): 112 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002913/0.2585, allocations: 176 kB / 425.4 MB, free: 3.309 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002871/0.2614, allocations: 2.733 MB / 428.1 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001428/0.2616, allocations: 100.2 kB / 428.2 MB, free: 460 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005121/0.2621, allocations: 0.4958 MB / 428.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.2639, allocations: 0.7288 MB / 429.5 MB, free: 15.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008423/0.2723, allocations: 7.604 MB / 437.1 MB, free: 7.438 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.2734, allocations: 1.258 MB / 438.3 MB, free: 6.156 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001175/0.2746, allocations: 495.9 kB / 438.8 MB, free: 5.664 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000821/0.2754, allocations: 0.5714 MB / 439.4 MB, free: 5.094 MB / 394.7 MB Notification: Performance of SimCode: time 1.453e-06/0.2754, allocations: 4 kB / 439.4 MB, free: 5.09 MB / 394.7 MB Notification: Performance of Templates: time 0.1461/0.4215, allocations: 35.22 MB / 474.6 MB, free: 114.7 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6867486629635096]