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.001623/0.001623, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001907/0.001907, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.452/1.452, allocations: 230.5 MB / 258.1 MB, free: 7.805 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.001974/0.001974, allocations: 71.83 kB / 379 MB, free: 2.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2534, allocations: 53.41 MB / 432.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.003859/0.2572, allocations: 2.296 MB / 434.7 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.2589, allocations: 0.83 MB / 435.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.2591, allocations: 7.938 kB / 435.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.2594, allocations: 59.5 kB / 435.6 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.2596, allocations: 67.48 kB / 435.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006183/0.2602, allocations: 195.6 kB / 435.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004386/0.2607, allocations: 395.5 kB / 436.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.2608, allocations: 67.53 kB / 436.3 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000306/0.2612, allocations: 183.3 kB / 436.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.2615, allocations: 163.3 kB / 436.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.101e-05/0.2615, allocations: 36 kB / 436.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.213e-05/0.2616, allocations: 36 kB / 436.7 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.2617, allocations: 115.6 kB / 436.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.2619, allocations: 131.2 kB / 436.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004846/0.2623, allocations: 381.4 kB / 437.3 MB, free: 1.621 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2623, allocations: 4 kB / 437.3 MB, free: 1.617 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2623, allocations: 0 / 437.3 MB, free: 1.617 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.2624, allocations: 3.984 kB / 437.3 MB, free: 1.613 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.001259/0.2636, allocations: 0.6064 MB / 437.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2637, allocations: 15.98 kB / 437.9 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.66e-05/0.2637, allocations: 44.7 kB / 438 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.2642, allocations: 245.4 kB / 438.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003139/0.2645, allocations: 351.9 kB / 438.6 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.15e-05/0.2645, allocations: 36.31 kB / 438.6 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.2658, allocations: 0.5706 MB / 439.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.2658, allocations: 7.984 kB / 439.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.2659, allocations: 12 kB / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.2659, allocations: 8 kB / 439.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/0.2673, allocations: 0.5151 MB / 439.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.2688, allocations: 0.8601 MB / 440.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.2703, allocations: 478.4 kB / 441 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006627/0.271, allocations: 254.8 kB / 441.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.596e-05/0.271, allocations: 4 kB / 441.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.2711, allocations: 46.42 kB / 441.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.244e-06/0.2711, allocations: 0 / 441.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.03722/0.3083, allocations: 5.778 MB / 447.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.3084, allocations: 149 kB / 447.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/0.3087, allocations: 273.8 kB / 447.5 MB, free: 7.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.834e-05/0.3088, allocations: 33.7 kB / 447.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.3089, allocations: 153.7 kB / 447.7 MB, free: 6.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/0.3092, allocations: 206.3 kB / 447.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002998/0.3095, allocations: 114.6 kB / 448 MB, free: 6.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.3096, allocations: 354.7 kB / 448.4 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.3113, allocations: 0.6226 MB / 449 MB, free: 5.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/0.3132, allocations: 0.8004 MB / 449.8 MB, free: 4.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003284/0.3165, allocations: 1.26 MB / 451 MB, free: 3.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.3165, allocations: 0 / 451 MB, free: 3.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003743/0.3202, allocations: 1.411 MB / 452.5 MB, free: 1.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.3202, allocations: 8 kB / 452.5 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.3203, allocations: 11.98 kB / 452.5 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.3203, allocations: 8 kB / 452.5 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.3216, allocations: 212 kB / 452.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.3216, allocations: 12 kB / 452.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009604/0.3226, allocations: 103.8 kB / 452.8 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.972e-05/0.3227, allocations: 28 kB / 452.8 MB, free: 1.59 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.0003383/0.323, allocations: 201.5 kB / 453 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003332/0.3233, allocations: 157.3 kB / 453.2 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.3235, allocations: 67.61 kB / 453.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.3235, allocations: 8 kB / 453.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.3235, allocations: 7.938 kB / 453.3 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.3235, allocations: 7.922 kB / 453.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005024/0.3286, allocations: 1.93 MB / 455.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.847e-05/0.3286, allocations: 12 kB / 455.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000777/0.3293, allocations: 183.7 kB / 455.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.706e-05/0.3294, allocations: 12 kB / 455.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.593e-05/0.3294, allocations: 24 kB / 455.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.125e-05/0.3294, allocations: 23.86 kB / 455.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.329e-05/0.3295, allocations: 16.16 kB / 455.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003504/0.333, allocations: 1.581 MB / 457 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003008/0.3333, allocations: 107.6 kB / 457.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.08e-05/0.3333, allocations: 28 kB / 457.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006244/0.334, allocations: 83.91 kB / 457.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000212/0.3342, allocations: 95.64 kB / 457.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.488e-05/0.3342, allocations: 36 kB / 457.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002099/0.3344, allocations: 189.2 kB / 457.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3344, allocations: 4 kB / 457.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007926/0.3352, allocations: 124 kB / 457.7 MB, free: 12.38 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.0001892/0.3354, allocations: 139.1 kB / 457.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002924/0.3383, allocations: 1.05 MB / 458.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.3384, allocations: 0 / 458.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.3394, allocations: 338.2 kB / 459.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009542/0.3404, allocations: 151.1 kB / 459.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/0.3431, allocations: 1.273 MB / 460.6 MB, free: 9.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.3433, allocations: 228.7 kB / 460.9 MB, free: 9.027 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/0.3437, allocations: 43.44 kB / 460.9 MB, free: 8.984 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3437, allocations: 0 / 460.9 MB, free: 8.984 MB / 366.1 MB Notification: Performance of Templates: time 0.01194/0.3556, allocations: 7.57 MB / 468.5 MB, free: 1.434 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/CascadeControlledDrive/AbsoluteClocks/AbsoluteClocks.csv","/var/lib/jenkins1/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: 7.57383373985067]