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.001598/0.001598, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.001784/0.001784, allocations: 215.5 kB / 24.49 MB, free: 3.934 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.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.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 0.001623/0.001623, allocations: 51.94 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2058, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01316/0.219, allocations: 10.33 MB / 442.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008012/0.227, allocations: 4.153 MB / 446.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000871/0.2279, allocations: 103.4 kB / 446.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005324/0.2332, allocations: 2.803 MB / 449.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004027/0.2372, allocations: 2 MB / 451.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.2392, allocations: 1.033 MB / 452.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006886/0.2461, allocations: 5.604 MB / 458.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003685/0.2498, allocations: 3.069 MB / 461.4 MB, free: 9.465 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002244/0.252, allocations: 1.741 MB / 463.2 MB, free: 7.719 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003036/0.2551, allocations: 2.469 MB / 465.6 MB, free: 5.242 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006155/0.2557, allocations: 364 kB / 466 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002079/0.2578, allocations: 1.151 MB / 467.2 MB, free: 3.734 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002097/0.2599, allocations: 2.127 MB / 469.3 MB, free: 1.602 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002057/0.2619, allocations: 1.755 MB / 471 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008224/0.2701, allocations: 7.611 MB / 478.6 MB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2702, allocations: 0 / 478.6 MB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2702, allocations: 0 / 478.6 MB, free: 8.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.647e-05/0.2702, allocations: 0 / 478.6 MB, free: 8.195 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.009683/0.2799, allocations: 5.246 MB / 483.9 MB, free: 2.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.28, allocations: 8.031 kB / 483.9 MB, free: 2.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02634/0.3063, allocations: 3.185 MB / 487.1 MB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008606/0.3149, allocations: 3.469 MB / 490.6 MB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.3151, allocations: 234.1 kB / 490.8 MB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006979/0.3158, allocations: 331.8 kB / 491.1 MB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01653/0.3323, allocations: 9.944 MB / 0.4893 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001449/0.3325, allocations: 55.62 kB / 0.4894 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004264/0.3329, allocations: 151.9 kB / 0.4895 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003497/0.3364, allocations: 1.908 MB / 0.4914 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/0.3519, allocations: 8.46 MB / 0.4996 GB, free: 6.402 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04568/0.3975, allocations: 35.35 MB / 0.5342 GB, free: 2.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.18/0.5776, allocations: 3.358 MB / 0.5374 GB, free: 100.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002313/0.5799, allocations: 2.042 MB / 0.5394 GB, free: 99.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004894/0.5804, allocations: 213.3 kB / 0.5396 GB, free: 99.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.5804, allocations: 52.61 kB / 0.5397 GB, free: 99.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.749e-06/0.5804, allocations: 0 / 0.5397 GB, free: 99.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.05182/0.6322, allocations: 22.49 MB / 0.5616 GB, free: 86.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.6323, allocations: 252.6 kB / 0.5619 GB, free: 86.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003354/0.6356, allocations: 3.944 MB / 0.5657 GB, free: 82.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001561/0.6358, allocations: 53.7 kB / 0.5658 GB, free: 82.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.6369, allocations: 3.227 MB / 0.5689 GB, free: 79.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004381/0.6373, allocations: 0.8009 MB / 0.5697 GB, free: 78.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001242/0.6385, allocations: 1.258 MB / 0.5709 GB, free: 77.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.155e-05/0.6386, allocations: 305.1 kB / 0.5712 GB, free: 77.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002602/0.6412, allocations: 2.495 MB / 0.5737 GB, free: 74.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003533/0.6447, allocations: 6.081 MB / 0.5796 GB, free: 66.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006659/0.6514, allocations: 9.058 MB / 0.5885 GB, free: 56.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-05/0.6514, allocations: 32 kB / 0.5885 GB, free: 56.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01499/0.6664, allocations: 10.5 MB / 0.5987 GB, free: 45.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.888e-05/0.6665, allocations: 68.16 kB / 0.5988 GB, free: 45.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.422e-05/0.6665, allocations: 120 kB / 0.5989 GB, free: 45.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006608/0.6731, allocations: 2.594 MB / 0.6015 GB, free: 42.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003363/0.6765, allocations: 1.306 MB / 0.6027 GB, free: 41.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0189/0.6954, allocations: 18.08 MB / 0.6204 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003971/0.6994, allocations: 367.5 kB / 0.6207 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004287/0.6998, allocations: 366.6 kB / 0.6211 GB, free: 22.41 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.002259/0.7021, allocations: 2.136 MB / 0.6232 GB, free: 20.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004881/0.7026, allocations: 357.6 kB / 0.6235 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008115/0.7107, allocations: 4.964 MB / 0.6284 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.607e-05/0.7107, allocations: 7.969 kB / 0.6284 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.7107, allocations: 4 kB / 0.6284 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005643/0.7113, allocations: 329.4 kB / 0.6287 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004247/0.7117, allocations: 32 kB / 0.6287 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/0.7131, allocations: 135.8 kB / 0.6288 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003126/0.7135, allocations: 160.9 kB / 0.629 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008495/0.7219, allocations: 5.392 MB / 0.6343 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006297/0.7282, allocations: 6.406 MB / 0.6405 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001621/0.7299, allocations: 1.59 MB / 0.6421 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003097/0.733, allocations: 2.312 MB / 0.6443 GB, free: 14.59 MB / 462.1 MB Notification: Performance of Backend: time 3.1e-07/0.733, allocations: 0 / 0.6443 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01013/0.7431, allocations: 4.952 MB / 0.6492 GB, free: 9.637 MB / 462.1 MB Notification: Performance of SimCode: time 0.01693/0.76, allocations: 9.999 MB / 0.6589 GB, free: 15.6 MB / 478.1 MB Notification: Performance of Templates: time 0.1085/0.8685, allocations: 63.88 MB / 0.7213 GB, free: 332 kB / 0.5137 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 6.508686431996466]