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.001437/0.001437, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001503/0.001503, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.545/1.545, allocations: 230.5 MB / 257.4 MB, free: 7.801 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.002053/0.002053, allocations: 63.89 kB / 378.2 MB, free: 2.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2639, allocations: 53.41 MB / 431.6 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.003946/0.2678, allocations: 2.296 MB / 433.9 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.2695, allocations: 0.83 MB / 434.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.2697, allocations: 7.938 kB / 434.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.27, allocations: 55.52 kB / 434.8 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002372/0.2702, allocations: 71.48 kB / 434.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005942/0.2708, allocations: 203.5 kB / 435.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004453/0.2713, allocations: 395.5 kB / 435.5 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.2714, allocations: 63.88 kB / 435.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003073/0.2717, allocations: 183.3 kB / 435.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.272, allocations: 167.3 kB / 435.9 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.527e-05/0.2721, allocations: 36 kB / 435.9 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.476e-05/0.2721, allocations: 39.94 kB / 435.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.2723, allocations: 111.7 kB / 436 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.2725, allocations: 131.2 kB / 436.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004758/0.2729, allocations: 383.7 kB / 436.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2729, allocations: 0 / 436.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2729, allocations: 0 / 436.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.2729, allocations: 3.938 kB / 436.6 MB, free: 1.598 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.001414/0.2744, allocations: 0.6103 MB / 437.2 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.2744, allocations: 11.98 kB / 437.2 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.2745, allocations: 44.7 kB / 437.2 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/0.275, allocations: 249.4 kB / 437.5 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003481/0.2753, allocations: 347.9 kB / 437.8 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.082e-05/0.2754, allocations: 32.38 kB / 437.8 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.2767, allocations: 0.5745 MB / 438.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.2768, allocations: 4 kB / 438.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.2768, allocations: 8 kB / 438.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.2768, allocations: 8 kB / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.2783, allocations: 0.519 MB / 438.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.2799, allocations: 0.8523 MB / 439.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.2814, allocations: 486.4 kB / 440.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000703/0.2821, allocations: 242.8 kB / 440.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.726e-05/0.2822, allocations: 11.98 kB / 440.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.2822, allocations: 42.42 kB / 440.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.603e-06/0.2822, allocations: 0 / 440.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.03835/0.3206, allocations: 5.793 MB / 446.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.3207, allocations: 145 kB / 446.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.321, allocations: 269.8 kB / 446.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.012e-05/0.3211, allocations: 33.7 kB / 446.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.3212, allocations: 153.7 kB / 446.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/0.3214, allocations: 202.3 kB / 447.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002912/0.3217, allocations: 118.6 kB / 447.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3219, allocations: 354.7 kB / 447.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/0.3236, allocations: 0.6188 MB / 448.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/0.3254, allocations: 0.8043 MB / 449 MB, free: 4.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003178/0.3286, allocations: 1.26 MB / 450.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3286, allocations: 0 / 450.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003854/0.3324, allocations: 1.407 MB / 451.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.3325, allocations: 11.98 kB / 451.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.3325, allocations: 4 kB / 451.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/0.3325, allocations: 8 kB / 451.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.3338, allocations: 219.7 kB / 451.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/0.3339, allocations: 8 kB / 451.9 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009502/0.3348, allocations: 99.77 kB / 452 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.51e-05/0.3349, allocations: 32 kB / 452.1 MB, free: 1.582 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: 3 (kinematicPTP.noWphase,kinematicPTP.motion_ref,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 (84): * Single equations (assignments): 84 * 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.0003479/0.3352, allocations: 190 kB / 452.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003443/0.3356, allocations: 165.2 kB / 452.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001942/0.3358, allocations: 75.61 kB / 452.5 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.3358, allocations: 11.94 kB / 452.5 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.3358, allocations: 7.984 kB / 452.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.3358, allocations: 3.938 kB / 452.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00503/0.3408, allocations: 1.925 MB / 454.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.316e-05/0.3409, allocations: 12 kB / 454.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007811/0.3416, allocations: 188.5 kB / 454.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.782e-05/0.3417, allocations: 12 kB / 454.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.004e-05/0.3417, allocations: 24 kB / 454.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.482e-05/0.3418, allocations: 23.88 kB / 454.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.337e-05/0.3418, allocations: 15.94 kB / 454.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003579/0.3453, allocations: 1.577 MB / 456.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002953/0.3456, allocations: 111.6 kB / 456.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-05/0.3457, allocations: 28 kB / 456.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006308/0.3464, allocations: 83.84 kB / 456.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/0.3466, allocations: 99.64 kB / 456.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-05/0.3466, allocations: 28 kB / 456.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002106/0.3468, allocations: 193.2 kB / 456.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3468, allocations: 0 / 456.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006943/0.3475, allocations: 128 kB / 456.9 MB, free: 12.37 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: 3 (kinematicPTP.moving[1],kinematicPTP.motion_ref,kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 73 * 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.0001919/0.3477, allocations: 134.9 kB / 457.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003025/0.3507, allocations: 1.046 MB / 458.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.3507, allocations: 192 / 458.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.3519, allocations: 338.9 kB / 458.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000982/0.3528, allocations: 156.2 kB / 458.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.3556, allocations: 1.248 MB / 459.9 MB, free: 9.293 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.3558, allocations: 228.7 kB / 460.1 MB, free: 9.051 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005015/0.3563, allocations: 100.1 kB / 460.2 MB, free: 8.949 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/0.3566, allocations: 35.44 kB / 460.2 MB, free: 8.914 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3566, allocations: 0 / 460.2 MB, free: 8.914 MB / 366.1 MB Notification: Performance of Templates: time 0.01643/0.3731, allocations: 9.469 MB / 469.7 MB, free: 15.52 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: 5.03557288274169]