Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.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.001271/0.001271, allocations: 106.5 kB / 21.22 MB, free: 0.6797 MB / 14.72 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.001506/0.001506, allocations: 208.4 kB / 24.54 MB, free: 4.055 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.427/1.427, allocations: 230.6 MB / 258.3 MB, free: 8.055 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-beta.om/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.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8007,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks")
translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8007,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 72.53 kB / 379 MB, free: 2.762 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2833, allocations: 53.37 MB / 432.4 MB, free: 6.98 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.004243/0.2875, allocations: 2.421 MB / 434.8 MB, free: 4.551 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001813/0.2893, allocations: 0.8844 MB / 435.7 MB, free: 3.66 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.2895, allocations: 11.94 kB / 435.7 MB, free: 3.648 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003474/0.2899, allocations: 63.5 kB / 435.8 MB, free: 3.586 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.00023/0.2901, allocations: 63.48 kB / 435.8 MB, free: 3.523 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006111/0.2907, allocations: 198.1 kB / 436 MB, free: 3.332 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004754/0.2912, allocations: 395.5 kB / 436.4 MB, free: 2.945 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.2914, allocations: 71.88 kB / 436.5 MB, free: 2.875 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003119/0.2917, allocations: 183.4 kB / 436.7 MB, free: 2.695 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.292, allocations: 187.2 kB / 436.8 MB, free: 2.512 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.441e-05/0.292, allocations: 32 kB / 436.9 MB, free: 2.48 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.053e-05/0.2921, allocations: 36 kB / 436.9 MB, free: 2.445 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.2922, allocations: 111.6 kB / 437 MB, free: 2.336 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.2924, allocations: 159.1 kB / 437.2 MB, free: 2.18 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000522/0.2929, allocations: 380 kB / 437.5 MB, free: 1.812 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2929, allocations: 0 / 437.5 MB, free: 1.812 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.623e-06/0.2929, allocations: 0 / 437.5 MB, free: 1.812 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 9.878e-06/0.2929, allocations: 4 kB / 437.5 MB, free: 1.809 MB / 334.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 74
 * Number of variables: 74
Notification: Performance of Generate backend data structure: time 0.00134/0.2943, allocations: 0.5947 MB / 438.1 MB, free: 1.18 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.2943, allocations: 12.03 kB / 438.2 MB, free: 1.168 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.988e-05/0.2944, allocations: 48.69 kB / 438.2 MB, free: 1.121 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/0.2949, allocations: 257.3 kB / 438.5 MB, free: 0.8438 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/0.2951, allocations: 134.3 kB / 438.6 MB, free: 0.6953 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.236e-05/0.2952, allocations: 32.38 kB / 438.6 MB, free: 0.6641 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.2964, allocations: 0.5661 MB / 439.2 MB, free: 72 kB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.2964, allocations: 3.938 kB / 439.2 MB, free: 68 kB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.2964, allocations: 8 kB / 439.2 MB, free: 60 kB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.2964, allocations: 8 kB / 439.2 MB, free: 52 kB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.2977, allocations: 0.512 MB / 439.7 MB, free: 15.54 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.2993, allocations: 0.9608 MB / 440.7 MB, free: 14.52 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.3008, allocations: 490.5 kB / 441.2 MB, free: 14 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000569/0.3014, allocations: 235.4 kB / 441.4 MB, free: 13.76 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.058e-05/0.3015, allocations: 4.156 kB / 441.4 MB, free: 13.75 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.3015, allocations: 50.48 kB / 441.4 MB, free: 13.7 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=44): time 1.803e-06/0.3015, allocations: 0 / 441.4 MB, free: 13.7 MB / 350.1 MB
Notification: Performance of matching and sorting (n=72): time 0.03666/0.3382, allocations: 5.774 MB / 447.2 MB, free: 7.91 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.3383, allocations: 152.9 kB / 447.4 MB, free: 7.73 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/0.3386, allocations: 257.8 kB / 447.6 MB, free: 7.473 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 8.159e-05/0.3387, allocations: 33.7 kB / 447.6 MB, free: 7.434 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.3388, allocations: 161.8 kB / 447.8 MB, free: 7.27 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.339, allocations: 202.3 kB / 448 MB, free: 7.07 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002853/0.3393, allocations: 110.6 kB / 448.1 MB, free: 6.953 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.000151/0.3394, allocations: 342.8 kB / 448.4 MB, free: 6.609 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.3409, allocations: 0.6188 MB / 449.1 MB, free: 5.992 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.3426, allocations: 0.7963 MB / 449.9 MB, free: 5.121 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002855/0.3454, allocations: 1.255 MB / 451.1 MB, free: 3.785 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3454, allocations: 0 / 451.1 MB, free: 3.785 MB / 350.1 MB
Notification: Performance of matching and sorting (n=83) (initialization): time 0.003362/0.3488, allocations: 1.398 MB / 452.5 MB, free: 2.383 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.3488, allocations: 8 kB / 452.5 MB, free: 2.375 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.3488, allocations: 4 kB / 452.5 MB, free: 2.371 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 3.075e-05/0.3488, allocations: 8 kB / 452.5 MB, free: 2.363 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.3502, allocations: 215.6 kB / 452.7 MB, free: 2.152 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.3502, allocations: 15.97 kB / 452.8 MB, free: 2.137 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009255/0.3511, allocations: 103.8 kB / 452.9 MB, free: 2.035 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.678e-05/0.3512, allocations: 28 kB / 452.9 MB, free: 2.008 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 25
 * Number of states: 0 ()
 * Number of discrete variables: 2 (kinematicPTP.noWphase,kinematicPTP.moving[1])
 * Number of discrete states: 0 ()
 * Number of clocked states: 1 (PI.x)
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (83):
 * Single equations (assignments): 83
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.000366/0.3516, allocations: 185.6 kB / 453.1 MB, free: 1.816 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000347/0.3519, allocations: 161.3 kB / 453.2 MB, free: 1.652 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.3521, allocations: 71.61 kB / 453.3 MB, free: 1.582 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.3521, allocations: 8 kB / 453.3 MB, free: 1.574 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.3521, allocations: 4 kB / 453.3 MB, free: 1.57 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/0.3521, allocations: 3.984 kB / 453.3 MB, free: 1.566 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004807/0.3569, allocations: 2.151 MB / 455.5 MB, free: 15.24 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.3569, allocations: 12.09 kB / 455.5 MB, free: 15.23 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007387/0.3577, allocations: 196.3 kB / 455.7 MB, free: 15.04 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.189e-05/0.3577, allocations: 12.23 kB / 455.7 MB, free: 15.02 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.017e-05/0.3578, allocations: 24 kB / 455.7 MB, free: 15 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.21e-05/0.3578, allocations: 23.92 kB / 455.7 MB, free: 14.98 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/0.3578, allocations: 15.94 kB / 455.7 MB, free: 14.96 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003173/0.361, allocations: 1.565 MB / 457.3 MB, free: 13.24 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002569/0.3612, allocations: 107.6 kB / 457.4 MB, free: 13.14 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.646e-05/0.3613, allocations: 31.98 kB / 457.4 MB, free: 13.11 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005534/0.3618, allocations: 71.92 kB / 457.5 MB, free: 13.04 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/0.362, allocations: 95.7 kB / 457.6 MB, free: 12.94 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.288e-05/0.3621, allocations: 39.98 kB / 457.6 MB, free: 12.9 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0002239/0.3623, allocations: 185.2 kB / 457.8 MB, free: 12.72 MB / 366.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3623, allocations: 0 / 457.8 MB, free: 12.72 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0006841/0.363, allocations: 124 kB / 457.9 MB, free: 12.6 MB / 366.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 45
 * Number of states: 2 (load.w,speed.flange.phi)
 * Number of discrete variables: 2 (kinematicPTP.moving[1],kinematicPTP.noWphase)
 * Number of discrete states: 0 ()
 * Number of clocked states: 1 (PI.x)
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (72):
 * Single equations (assignments): 72
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001999/0.3632, allocations: 138.9 kB / 458.1 MB, free: 12.46 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.002673/0.3659, allocations: 1.033 MB / 459.1 MB, free: 11.42 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.3659, allocations: 0 / 459.1 MB, free: 11.42 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0009549/0.3668, allocations: 335.2 kB / 459.4 MB, free: 11.1 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009917/0.3678, allocations: 144.5 kB / 459.6 MB, free: 10.96 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/0.3704, allocations: 1.244 MB / 460.8 MB, free: 9.547 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.3709, allocations: 0.8284 MB / 461.7 MB, free: 8.691 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0005023/0.3714, allocations: 104.1 kB / 461.8 MB, free: 8.586 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.3717, allocations: 39.44 kB / 461.8 MB, free: 8.547 MB / 366.1 MB
Notification: Performance of SimCode: time 1.382e-06/0.3717, allocations: 4 kB / 461.8 MB, free: 8.543 MB / 366.1 MB
Notification: Performance of Templates: time 0.01632/0.388, allocations: 9.08 MB / 470.9 MB, free: 15.47 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/CascadeControlledDrive/AbsoluteClocks/AbsoluteClocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.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: 4.923354498110712]