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.001637/0.001637, allocations: 110.3 kB / 21.17 MB, free: 0.7812 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.001585/0.001585, allocations: 209.4 kB / 24.46 MB, free: 4.359 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.453/1.453, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.003031/0.003031, allocations: 76.02 kB / 378.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2716, allocations: 53.33 MB / 432 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.003943/0.2755, allocations: 2.425 MB / 434.5 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.2772, allocations: 0.8767 MB / 435.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.2773, allocations: 8 kB / 435.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.2776, allocations: 55.52 kB / 435.4 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000211/0.2778, allocations: 67.48 kB / 435.5 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005586/0.2784, allocations: 199.6 kB / 435.7 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.2788, allocations: 391.5 kB / 436 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.279, allocations: 75.52 kB / 436.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003016/0.2793, allocations: 175.4 kB / 436.3 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.2796, allocations: 183.2 kB / 436.5 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.408e-05/0.2796, allocations: 40 kB / 436.5 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.696e-05/0.2797, allocations: 32 kB / 436.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.2798, allocations: 115.6 kB / 436.6 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.28, allocations: 159.1 kB / 436.8 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004504/0.2804, allocations: 368 kB / 437.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2804, allocations: 0 / 437.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2804, allocations: 4 kB / 437.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.2804, allocations: 3.938 kB / 437.2 MB, free: 2.266 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.001286/0.2817, allocations: 0.6779 MB / 437.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.2817, allocations: 11.97 kB / 437.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.371e-05/0.2818, allocations: 48.7 kB / 437.9 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005006/0.2823, allocations: 307.3 kB / 438.2 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/0.2825, allocations: 142.3 kB / 438.3 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-05/0.2826, allocations: 28.38 kB / 438.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.2838, allocations: 0.5745 MB / 438.9 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.2838, allocations: 0 / 438.9 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.2839, allocations: 12 kB / 439 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.2839, allocations: 11.94 kB / 439 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.2852, allocations: 0.5035 MB / 439.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.2868, allocations: 1.03 MB / 440.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.2885, allocations: 482.4 kB / 441 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006419/0.2891, allocations: 239.4 kB / 441.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.634e-05/0.2891, allocations: 12.12 kB / 441.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.2892, allocations: 46.55 kB / 441.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.703e-06/0.2892, allocations: 0 / 441.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.03789/0.3271, allocations: 5.763 MB / 447 MB, free: 8.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.3272, allocations: 152.9 kB / 447.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.3275, allocations: 254.6 kB / 447.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.005e-05/0.3276, allocations: 37.7 kB / 447.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.3278, allocations: 153.7 kB / 447.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.328, allocations: 202.3 kB / 447.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003041/0.3283, allocations: 118.6 kB / 447.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.3285, allocations: 342.8 kB / 448.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/0.3301, allocations: 0.6188 MB / 448.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/0.3319, allocations: 0.7886 MB / 449.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003137/0.335, allocations: 1.255 MB / 450.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.335, allocations: 4 kB / 450.9 MB, free: 4 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003542/0.3385, allocations: 1.398 MB / 452.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.3386, allocations: 8 kB / 452.3 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.3386, allocations: 4 kB / 452.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.3386, allocations: 8 kB / 452.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.3399, allocations: 219.6 kB / 452.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.3399, allocations: 11.98 kB / 452.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009077/0.3408, allocations: 103.8 kB / 452.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-05/0.3409, allocations: 24 kB / 452.7 MB, free: 2.227 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.0003505/0.3413, allocations: 189.6 kB / 452.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003286/0.3416, allocations: 173.6 kB / 453 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.3418, allocations: 67.61 kB / 453.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.3418, allocations: 8 kB / 453.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.3418, allocations: 8 kB / 453.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.3418, allocations: 3.984 kB / 453.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004802/0.3466, allocations: 2.175 MB / 455.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.3466, allocations: 12 kB / 455.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007368/0.3474, allocations: 183.7 kB / 455.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.485e-05/0.3474, allocations: 12.53 kB / 455.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.015e-05/0.3474, allocations: 32 kB / 455.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.965e-05/0.3475, allocations: 27.86 kB / 455.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.348e-06/0.3475, allocations: 11.94 kB / 455.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003192/0.3507, allocations: 1.564 MB / 457.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000242/0.3509, allocations: 176.8 kB / 457.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.913e-05/0.351, allocations: 31.98 kB / 457.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005661/0.3516, allocations: 71.92 kB / 457.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.3517, allocations: 95.72 kB / 457.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-05/0.3518, allocations: 36 kB / 457.5 MB, free: 13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001766/0.352, allocations: 186 kB / 457.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.352, allocations: 4 kB / 457.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006191/0.3526, allocations: 120 kB / 457.9 MB, free: 12.7 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.0001675/0.3528, allocations: 139.3 kB / 458 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002742/0.3555, allocations: 1.041 MB / 459 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.3555, allocations: 4 kB / 459 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009747/0.3565, allocations: 331.3 kB / 459.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009081/0.3574, allocations: 144.5 kB / 459.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.3599, allocations: 1.235 MB / 460.7 MB, free: 9.648 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.3604, allocations: 0.8285 MB / 461.6 MB, free: 8.781 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004273/0.3608, allocations: 100.1 kB / 461.7 MB, free: 8.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/0.3611, allocations: 39.42 kB / 461.7 MB, free: 8.641 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3611, allocations: 0 / 461.7 MB, free: 8.641 MB / 366.1 MB Notification: Performance of Templates: time 0.01449/0.3756, allocations: 8.912 MB / 470.6 MB, free: 15.74 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/CascadeControlledDrive/AbsoluteClocks/AbsoluteClocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.935162860900164]