Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002002/0.002002, allocations: 182.9 kB / 23.71 MB, free: 4.695 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 252.5 MB, free: 12.99 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 51.92 kB / 370.9 MB, free: 9.332 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2875, allocations: 52.19 MB / 423.1 MB, free: 14.66 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.0149/0.3024, allocations: 11.99 MB / 435.1 MB, free: 2.613 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.009358/0.3118, allocations: 4.386 MB / 439.5 MB, free: 14.22 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.3134, allocations: 103.4 kB / 439.6 MB, free: 14.12 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.005527/0.3189, allocations: 2.943 MB / 442.5 MB, free: 11.16 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004636/0.3236, allocations: 2.042 MB / 444.6 MB, free: 9.117 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.3258, allocations: 1.056 MB / 445.6 MB, free: 8.059 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.008158/0.334, allocations: 5.565 MB / 451.2 MB, free: 2.484 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.003927/0.3379, allocations: 2.849 MB / 454.1 MB, free: 15.57 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002604/0.3405, allocations: 1.752 MB / 455.8 MB, free: 13.81 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003477/0.344, allocations: 2.5 MB / 458.3 MB, free: 11.3 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0008346/0.3448, allocations: 364 kB / 458.7 MB, free: 10.95 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002425/0.3472, allocations: 1.291 MB / 460 MB, free: 9.652 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002316/0.3495, allocations: 2.178 MB / 462.1 MB, free: 7.469 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.003136/0.3527, allocations: 2.389 MB / 464.5 MB, free: 5.066 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01054/0.3632, allocations: 7.76 MB / 472.3 MB, free: 13.28 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/0.3632, allocations: 0 / 472.3 MB, free: 13.28 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.993e-06/0.3632, allocations: 4 kB / 472.3 MB, free: 13.27 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 0.0002844/0.3635, allocations: 0 / 472.3 MB, free: 13.27 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: 1508
 * Number of variables: 1508
Notification: Performance of Generate backend data structure: time 0.01438/0.3779, allocations: 5.313 MB / 477.6 MB, free: 7.898 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3779, allocations: 8.031 kB / 477.6 MB, free: 7.891 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02801/0.4059, allocations: 3.192 MB / 480.8 MB, free: 4.691 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.009739/0.4157, allocations: 3.535 MB / 484.3 MB, free: 1.105 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/0.4159, allocations: 238.2 kB / 484.6 MB, free: 0.8711 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001112/0.417, allocations: 327.8 kB / 484.9 MB, free: 0.5508 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02056/0.4376, allocations: 10.03 MB / 494.9 MB, free: 5.883 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0003185/0.4379, allocations: 55.59 kB / 495 MB, free: 5.828 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001154/0.4391, allocations: 155.8 kB / 495.1 MB, free: 5.676 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003979/0.443, allocations: 1.951 MB / 497.1 MB, free: 3.711 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01894/0.462, allocations: 8.594 MB / 0.4938 GB, free: 11.11 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0548/0.5168, allocations: 38.59 MB / 0.5315 GB, free: 3.367 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.2269/0.7437, allocations: 3.368 MB / 0.5348 GB, free: 106.4 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003441/0.7471, allocations: 2.052 MB / 0.5368 GB, free: 106.1 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005423/0.7477, allocations: 210.8 kB / 0.537 GB, free: 106 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/0.7477, allocations: 47.23 kB / 0.537 GB, free: 106 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=166): time 4.127e-06/0.7477, allocations: 0 / 0.537 GB, free: 106 MB / 446.1 MB
Notification: Performance of matching and sorting (n=201): time 0.05848/0.8062, allocations: 22.52 MB / 0.559 GB, free: 94.67 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.8063, allocations: 252.6 kB / 0.5593 GB, free: 94.38 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005561/0.8118, allocations: 4.182 MB / 0.5634 GB, free: 90.25 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0004298/0.8123, allocations: 57.7 kB / 0.5634 GB, free: 90.19 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001602/0.8139, allocations: 3.244 MB / 0.5666 GB, free: 87.3 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0008125/0.8147, allocations: 0.7937 MB / 0.5674 GB, free: 86.51 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001794/0.8165, allocations: 1.27 MB / 0.5686 GB, free: 85.23 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 4.028e-05/0.8165, allocations: 305.1 kB / 0.5689 GB, free: 84.93 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002925/0.8194, allocations: 2.491 MB / 0.5713 GB, free: 82.44 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.004038/0.8235, allocations: 5.983 MB / 0.5772 GB, free: 74.79 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.007645/0.8311, allocations: 9.068 MB / 0.586 GB, free: 64.02 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.669e-05/0.8312, allocations: 36 kB / 0.5861 GB, free: 63.99 MB / 446.1 MB
Notification: Performance of matching and sorting (n=797) (initialization): time 0.01753/0.8487, allocations: 10.53 MB / 0.5963 GB, free: 53.45 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.8488, allocations: 60 kB / 0.5964 GB, free: 53.39 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001327/0.849, allocations: 120.8 kB / 0.5965 GB, free: 53.27 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.006766/0.8557, allocations: 2.601 MB / 0.599 GB, free: 50.66 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003719/0.8595, allocations: 1.306 MB / 0.6003 GB, free: 49.36 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02037/0.8798, allocations: 18.34 MB / 0.6182 GB, free: 30.69 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004705/0.8845, allocations: 367.4 kB / 0.6186 GB, free: 30.33 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008593/0.8854, allocations: 360 kB / 0.6189 GB, free: 29.98 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.arrowLine.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.003134/0.8885, allocations: 2.17 MB / 0.621 GB, free: 27.79 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007635/0.8893, allocations: 385.4 kB / 0.6214 GB, free: 27.41 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008966/0.8983, allocations: 4.995 MB / 0.6263 GB, free: 22.39 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.242e-05/0.8983, allocations: 26.67 kB / 0.6263 GB, free: 22.38 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/0.8983, allocations: 8 kB / 0.6263 GB, free: 22.37 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.15e-05/0.8983, allocations: 15.89 kB / 0.6263 GB, free: 22.35 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01742/0.9157, allocations: 10.74 MB / 0.6368 GB, free: 11.57 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.9158, allocations: 0 / 0.6368 GB, free: 11.57 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/0.9171, allocations: 287.5 kB / 0.6371 GB, free: 11.29 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.004841/0.9219, allocations: 1.846 MB / 0.6389 GB, free: 9.438 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002275/0.9221, allocations: 32 kB / 0.6389 GB, free: 9.406 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01242/0.9345, allocations: 10.3 MB / 0.649 GB, free: 14.97 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.9345, allocations: 4.297 kB / 0.649 GB, free: 14.97 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01721/0.9518, allocations: 8.165 MB / 0.657 GB, free: 6.77 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001709/0.9535, allocations: 365.3 kB / 0.6573 GB, free: 6.41 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001275/0.9547, allocations: 39.94 kB / 0.6574 GB, free: 6.371 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002523/0.9573, allocations: 136.1 kB / 0.6575 GB, free: 6.238 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006013/0.9579, allocations: 125.1 kB / 0.6576 GB, free: 6.117 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002828/0.9581, allocations: 52 kB / 0.6577 GB, free: 6.066 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 0.005675/0.9638, allocations: 2.631 MB / 0.6602 GB, free: 3.426 MB / 462.1 MB
Notification: Performance of sort global known variables: time 1.2e-07/0.9638, allocations: 0 / 0.6602 GB, free: 3.426 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.006705/0.9705, allocations: 1.179 MB / 0.6614 GB, free: 2.25 MB / 462.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 (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.0006996/0.9712, allocations: 170.9 kB / 0.6615 GB, free: 2.074 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.01184/0.9831, allocations: 6.249 MB / 0.6676 GB, free: 11.82 MB / 478.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.832e-06/0.9831, allocations: 0 / 0.6676 GB, free: 11.82 MB / 478.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.003699/0.9868, allocations: 1.991 MB / 0.6696 GB, free: 9.812 MB / 478.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004472/0.9912, allocations: 0.5611 MB / 0.6701 GB, free: 9.266 MB / 478.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02191/1.013, allocations: 10.63 MB / 0.6805 GB, free: 14.6 MB / 494.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00634/1.019, allocations: 3.446 MB / 0.6839 GB, free: 11.12 MB / 494.1 MB
Notification: Performance of simCode: alias equations: time 0.005299/1.025, allocations: 1.872 MB / 0.6857 GB, free: 9.238 MB / 494.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/1.026, allocations: 247.4 kB / 0.6859 GB, free: 8.996 MB / 494.1 MB
Notification: Performance of SimCode: time 1.413e-06/1.026, allocations: 0 / 0.6859 GB, free: 8.996 MB / 494.1 MB
Notification: Performance of Templates: time 0.3336/1.36, allocations: 53.47 MB / 0.7382 GB, free: 184 MB / 0.5294 GB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.180678381584585]