Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001865/0.001865, allocations: 109 kB / 21.23 MB, free: 0.5117 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.002362/0.002362, allocations: 209.9 kB / 24.54 MB, free: 3.906 MB / 14.72 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 1.441/1.441, allocations: 230.3 MB / 258 MB, free: 8.453 MB / 206.1 MB
"
[Timeout remaining time 178]
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.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8007,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.89 kB / 378.7 MB, free: 2.883 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2555, allocations: 53.36 MB / 432.1 MB, free: 7.16 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.004747/0.2602, allocations: 2.432 MB / 434.5 MB, free: 4.719 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00191/0.2621, allocations: 0.8689 MB / 435.4 MB, free: 3.844 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.2623, allocations: 19.88 kB / 435.4 MB, free: 3.824 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.2626, allocations: 55.52 kB / 435.5 MB, free: 3.77 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.2628, allocations: 63.48 kB / 435.5 MB, free: 3.707 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005621/0.2633, allocations: 203.5 kB / 435.7 MB, free: 3.508 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004565/0.2638, allocations: 395.5 kB / 436.1 MB, free: 3.121 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.264, allocations: 75.88 kB / 436.2 MB, free: 3.047 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003692/0.2644, allocations: 179.4 kB / 436.4 MB, free: 2.871 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.2646, allocations: 183.2 kB / 436.6 MB, free: 2.691 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.417e-05/0.2647, allocations: 32 kB / 436.6 MB, free: 2.66 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.283e-05/0.2647, allocations: 36 kB / 436.6 MB, free: 2.625 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.2649, allocations: 111.6 kB / 436.7 MB, free: 2.516 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.2651, allocations: 163 kB / 436.9 MB, free: 2.355 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004783/0.2656, allocations: 372.1 kB / 437.2 MB, free: 1.996 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2656, allocations: 0 / 437.2 MB, free: 1.996 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.413e-06/0.2656, allocations: 0 / 437.2 MB, free: 1.996 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 8.105e-06/0.2656, allocations: 4 kB / 437.3 MB, free: 1.992 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.001299/0.2669, allocations: 0.6064 MB / 437.9 MB, free: 1.352 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.2669, allocations: 8.031 kB / 437.9 MB, free: 1.344 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.755e-05/0.267, allocations: 44.7 kB / 437.9 MB, free: 1.301 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004888/0.2675, allocations: 261.3 kB / 438.2 MB, free: 1.02 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002275/0.2677, allocations: 138.3 kB / 438.3 MB, free: 0.8672 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.505e-05/0.2678, allocations: 28.38 kB / 438.3 MB, free: 0.8398 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.2691, allocations: 0.5667 MB / 438.9 MB, free: 252 kB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.2691, allocations: 4 kB / 438.9 MB, free: 248 kB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.296e-05/0.2692, allocations: 15.98 kB / 438.9 MB, free: 232 kB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.2692, allocations: 8 kB / 438.9 MB, free: 224 kB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.2707, allocations: 0.5081 MB / 439.4 MB, free: 15.71 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.2724, allocations: 0.9686 MB / 440.4 MB, free: 14.68 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.2742, allocations: 478.5 kB / 440.9 MB, free: 14.18 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006818/0.2749, allocations: 231.4 kB / 441.1 MB, free: 13.94 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.225e-05/0.2749, allocations: 15.92 kB / 441.1 MB, free: 13.92 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.275, allocations: 38.56 kB / 441.1 MB, free: 13.88 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=44): time 2.094e-06/0.275, allocations: 0 / 441.1 MB, free: 13.88 MB / 350.1 MB
Notification: Performance of matching and sorting (n=72): time 0.0423/0.3172, allocations: 5.772 MB / 446.9 MB, free: 8.09 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.3174, allocations: 149 kB / 447.1 MB, free: 7.914 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.3177, allocations: 257.8 kB / 447.3 MB, free: 7.656 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 8.898e-05/0.3178, allocations: 41.7 kB / 447.4 MB, free: 7.609 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.3179, allocations: 149.8 kB / 447.5 MB, free: 7.457 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002245/0.3181, allocations: 202.3 kB / 447.7 MB, free: 7.258 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000316/0.3184, allocations: 114.6 kB / 447.8 MB, free: 7.137 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001969/0.3186, allocations: 342.8 kB / 448.1 MB, free: 6.793 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001797/0.3204, allocations: 0.6188 MB / 448.8 MB, free: 6.176 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001943/0.3224, allocations: 0.7963 MB / 449.6 MB, free: 5.305 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003425/0.3258, allocations: 1.255 MB / 450.8 MB, free: 3.969 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.3258, allocations: 4 kB / 450.8 MB, free: 3.965 MB / 350.1 MB
Notification: Performance of matching and sorting (n=83) (initialization): time 0.004034/0.3298, allocations: 1.398 MB / 452.2 MB, free: 2.562 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.3299, allocations: 8 kB / 452.2 MB, free: 2.555 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.3299, allocations: 7.984 kB / 452.2 MB, free: 2.547 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/0.3299, allocations: 8 kB / 452.2 MB, free: 2.539 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.3313, allocations: 219.7 kB / 452.5 MB, free: 2.324 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/0.3313, allocations: 8.688 kB / 452.5 MB, free: 2.316 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.3324, allocations: 95.78 kB / 452.6 MB, free: 2.223 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.255e-05/0.3325, allocations: 27.98 kB / 452.6 MB, free: 2.195 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.0004125/0.3329, allocations: 201.5 kB / 452.8 MB, free: 1.988 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003432/0.3332, allocations: 173.4 kB / 453 MB, free: 1.812 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.3334, allocations: 67.61 kB / 453 MB, free: 1.746 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.3334, allocations: 11.98 kB / 453 MB, free: 1.734 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.3335, allocations: 4 kB / 453 MB, free: 1.73 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.3335, allocations: 3.984 kB / 453 MB, free: 1.727 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005239/0.3387, allocations: 2.151 MB / 455.2 MB, free: 15.39 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/0.3387, allocations: 12.97 kB / 455.2 MB, free: 15.38 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007896/0.3395, allocations: 187.7 kB / 455.4 MB, free: 15.2 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.524e-05/0.3395, allocations: 12 kB / 455.4 MB, free: 15.19 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.552e-05/0.3396, allocations: 28 kB / 455.4 MB, free: 15.16 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.612e-05/0.3396, allocations: 19.94 kB / 455.4 MB, free: 15.14 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.17e-05/0.3396, allocations: 15.94 kB / 455.5 MB, free: 15.12 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003464/0.3431, allocations: 1.561 MB / 457 MB, free: 13.41 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.3433, allocations: 103.6 kB / 457.1 MB, free: 13.31 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.322e-05/0.3434, allocations: 31.98 kB / 457.2 MB, free: 13.28 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006251/0.344, allocations: 71.92 kB / 457.2 MB, free: 13.21 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/0.3442, allocations: 99.7 kB / 457.3 MB, free: 13.11 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.386e-05/0.3443, allocations: 36 kB / 457.4 MB, free: 13.07 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0001947/0.3445, allocations: 189.2 kB / 457.5 MB, free: 12.89 MB / 366.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.3445, allocations: 0 / 457.5 MB, free: 12.89 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0006726/0.3451, allocations: 120 kB / 457.7 MB, free: 12.77 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.0001781/0.3453, allocations: 142.2 kB / 457.8 MB, free: 12.63 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.003059/0.3484, allocations: 1.027 MB / 458.8 MB, free: 11.6 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.3484, allocations: 4 kB / 458.8 MB, free: 11.6 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0011/0.3495, allocations: 342.1 kB / 459.2 MB, free: 11.27 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.3505, allocations: 138.9 kB / 459.3 MB, free: 11.13 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.3531, allocations: 1.236 MB / 460.5 MB, free: 9.73 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/0.3537, allocations: 0.8362 MB / 461.4 MB, free: 8.867 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0005186/0.3542, allocations: 104.1 kB / 461.5 MB, free: 8.762 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/0.3545, allocations: 35.44 kB / 461.5 MB, free: 8.727 MB / 366.1 MB
Notification: Performance of SimCode: time 1.202e-06/0.3545, allocations: 0 / 461.5 MB, free: 8.727 MB / 366.1 MB
Notification: Performance of Templates: time 0.01606/0.3705, allocations: 9.089 MB / 470.6 MB, free: 15.65 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.sim & ./Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_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_trunk_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.976298690773547]