Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.001108/0.001108, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.005595/0.005595, allocations: 160.2 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8839/0.8839, allocations: 177 MB / 204.9 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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.DoublePendulumInitTip,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.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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.595e-05, allocations: 3.828 kB / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.008496/0.008522, allocations: 10.36 MB / 336.1 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006662/0.01518, allocations: 4.167 MB / 340.3 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008763/0.01606, allocations: 103.4 kB / 340.4 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002623/0.01868, allocations: 2.939 MB / 343.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002502/0.02118, allocations: 2.049 MB / 345.4 MB, free: 11.65 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.0224, allocations: 1.119 MB / 346.5 MB, free: 10.53 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004316/0.02671, allocations: 6.342 MB / 352.9 MB, free: 4.176 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002496/0.02921, allocations: 3.58 MB / 356.4 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002003/0.03121, allocations: 2.639 MB / 359.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001989/0.0332, allocations: 2.572 MB / 361.7 MB, free: 11.3 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003002/0.0335, allocations: 372 kB / 362 MB, free: 10.94 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.03465, allocations: 1.194 MB / 363.2 MB, free: 9.746 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.03573, allocations: 2.232 MB / 365.4 MB, free: 7.508 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000864/0.03659, allocations: 1.383 MB / 366.8 MB, free: 6.121 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004676/0.04127, allocations: 7.711 MB / 374.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.04127, allocations: 0 / 374.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.04127, allocations: 0 / 374.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.215e-05/0.04133, allocations: 0 / 374.5 MB, free: 14.39 MB / 346.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.005617/0.04694, allocations: 5.305 MB / 379.8 MB, free: 9.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.04698, allocations: 19.98 kB / 379.9 MB, free: 9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01142/0.05841, allocations: 3.271 MB / 383.1 MB, free: 5.723 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004694/0.0631, allocations: 3.445 MB / 386.6 MB, free: 2.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.06321, allocations: 234.5 kB / 386.8 MB, free: 2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003916/0.0636, allocations: 331.7 kB / 387.1 MB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009744/0.07334, allocations: 9.951 MB / 397.1 MB, free: 7.051 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.808e-05/0.07343, allocations: 47.64 kB / 397.1 MB, free: 7.004 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002715/0.0737, allocations: 151.9 kB / 397.3 MB, free: 6.855 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00181/0.07551, allocations: 1.904 MB / 399.2 MB, free: 4.941 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/0.08564, allocations: 8.476 MB / 407.7 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02838/0.114, allocations: 35.68 MB / 443.3 MB, free: 7.781 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004912/0.1189, allocations: 3.451 MB / 446.8 MB, free: 4.297 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002019/0.121, allocations: 2.053 MB / 448.8 MB, free: 2.234 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/0.1212, allocations: 196.6 kB / 449 MB, free: 2.043 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.1213, allocations: 51.56 kB / 449.1 MB, free: 1.984 MB / 410.7 MB Notification: Performance of pre-optimization done (n=166): time 4.108e-06/0.1213, allocations: 0 / 449.1 MB, free: 1.984 MB / 410.7 MB Notification: Performance of matching and sorting (n=201): time 0.2092/0.3305, allocations: 23.16 MB / 472.2 MB, free: 103.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.827e-05/0.3306, allocations: 252.6 kB / 472.5 MB, free: 102.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003427/0.334, allocations: 4.113 MB / 476.6 MB, free: 98.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.3341, allocations: 60.53 kB / 476.7 MB, free: 98.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000945/0.3351, allocations: 3.188 MB / 479.9 MB, free: 95.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004145/0.3355, allocations: 0.7962 MB / 480.6 MB, free: 95.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009559/0.3365, allocations: 1.239 MB / 481.9 MB, free: 93.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.796e-05/0.3365, allocations: 301.1 kB / 482.2 MB, free: 93.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002023/0.3385, allocations: 2.492 MB / 484.7 MB, free: 91.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002863/0.3414, allocations: 6.084 MB / 490.8 MB, free: 83.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005712/0.3471, allocations: 9.062 MB / 499.8 MB, free: 72.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.318e-05/0.3471, allocations: 32 kB / 499.8 MB, free: 72.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01079/0.3579, allocations: 10.49 MB / 0.4984 GB, free: 61.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.52e-05/0.358, allocations: 60 kB / 0.4984 GB, free: 61.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.913e-05/0.358, allocations: 124 kB / 0.4986 GB, free: 61.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003744/0.3618, allocations: 2.6 MB / 0.5011 GB, free: 59.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/0.3636, allocations: 1.31 MB / 0.5024 GB, free: 57.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/0.3766, allocations: 18.15 MB / 0.5201 GB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002924/0.3796, allocations: 423.4 kB / 0.5205 GB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002643/0.3798, allocations: 360 kB / 0.5208 GB, free: 38.69 MB / 410.7 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.002223/0.3821, allocations: 2.139 MB / 0.5229 GB, free: 36.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003769/0.3824, allocations: 353.7 kB / 0.5233 GB, free: 36.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004832/0.3873, allocations: 4.969 MB / 0.5281 GB, free: 31.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/0.3873, allocations: 24 kB / 0.5281 GB, free: 31.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.3873, allocations: 4 kB / 0.5281 GB, free: 31.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.3873, allocations: 11.97 kB / 0.5282 GB, free: 31.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009545/0.3968, allocations: 9.558 MB / 0.5375 GB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.3969, allocations: 0 / 0.5375 GB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006474/0.3975, allocations: 287.5 kB / 0.5378 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002501/0.4, allocations: 1.842 MB / 0.5396 GB, free: 19.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.4001, allocations: 36 kB / 0.5396 GB, free: 19.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007255/0.4074, allocations: 10.23 MB / 0.5496 GB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4074, allocations: 0 / 0.5496 GB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007103/0.4145, allocations: 8.113 MB / 0.5575 GB, free: 0.957 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008754/0.4153, allocations: 381.4 kB / 0.5579 GB, free: 0.582 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002533/0.4156, allocations: 39.81 kB / 0.5579 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009716/0.4166, allocations: 195.7 kB / 0.5581 GB, free: 364 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002296/0.4168, allocations: 121.1 kB / 0.5582 GB, free: 244 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.467e-05/0.4169, allocations: 48 kB / 0.5583 GB, free: 196 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002583/0.4195, allocations: 2.446 MB / 0.5607 GB, free: 13.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4195, allocations: 0 / 0.5607 GB, free: 13.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003735/0.4232, allocations: 1.312 MB / 0.5619 GB, free: 12.45 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 (147): * Single equations (assignments): 143 * 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.0003761/0.4236, allocations: 186.5 kB / 0.5621 GB, free: 12.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006503/0.4301, allocations: 6.251 MB / 0.5682 GB, free: 5.988 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.4301, allocations: 0 / 0.5682 GB, free: 5.988 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002109/0.4322, allocations: 2.006 MB / 0.5702 GB, free: 3.969 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.434, allocations: 0.5115 MB / 0.5707 GB, free: 3.484 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/0.4478, allocations: 10.86 MB / 0.5813 GB, free: 8.574 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002558/0.4503, allocations: 2.837 MB / 0.5841 GB, free: 5.695 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007515/0.4511, allocations: 284.4 kB / 0.5843 GB, free: 5.418 MB / 442.7 MB Notification: Performance of SimCode: time 2.364e-06/0.4511, allocations: 0 / 0.5843 GB, free: 5.418 MB / 442.7 MB Notification: Performance of Templates: time 0.2047/0.6558, allocations: 102.2 MB / 0.6841 GB, free: 101.1 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.925330479629338]