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.00164/0.00164, allocations: 113.9 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.00172/0.00172, allocations: 220.1 kB / 24.47 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.471/1.471, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.001892/0.001892, allocations: 67.83 kB / 378.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3327, allocations: 53.32 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.004086/0.3368, allocations: 2.429 MB / 434.5 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.3385, allocations: 0.8767 MB / 435.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/0.3387, allocations: 7.938 kB / 435.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003098/0.3391, allocations: 51.56 kB / 435.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.3393, allocations: 67.48 kB / 435.5 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006054/0.3399, allocations: 195.6 kB / 435.6 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000486/0.3404, allocations: 399.4 kB / 436 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.3406, allocations: 71.52 kB / 436.1 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003562/0.3409, allocations: 179.4 kB / 436.3 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.3412, allocations: 179.2 kB / 436.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.631e-05/0.3413, allocations: 36 kB / 436.5 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.315e-05/0.3413, allocations: 32 kB / 436.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.3415, allocations: 115.6 kB / 436.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.3416, allocations: 159.1 kB / 436.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004838/0.3421, allocations: 372 kB / 437.2 MB, free: 2.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.3421, allocations: 0 / 437.2 MB, free: 2.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3421, allocations: 4 kB / 437.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.3421, allocations: 3.938 kB / 437.2 MB, free: 2.238 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.001335/0.3434, allocations: 0.6779 MB / 437.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3435, allocations: 8.031 kB / 437.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.3436, allocations: 48.64 kB / 437.9 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00052/0.3441, allocations: 303.4 kB / 438.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/0.3443, allocations: 150.2 kB / 438.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.279e-05/0.3444, allocations: 28.38 kB / 438.4 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.3456, allocations: 0.5745 MB / 438.9 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.3456, allocations: 7.984 kB / 438.9 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.3457, allocations: 8 kB / 439 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.3457, allocations: 8 kB / 439 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.347, allocations: 0.5113 MB / 439.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.3486, allocations: 1.03 MB / 440.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.3502, allocations: 481.2 kB / 441 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006275/0.3509, allocations: 231.5 kB / 441.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.927e-05/0.3509, allocations: 15.97 kB / 441.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.3509, allocations: 42.5 kB / 441.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.565e-06/0.3509, allocations: 0 / 441.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.0392/0.3901, allocations: 5.767 MB / 447 MB, free: 8.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.3903, allocations: 148.9 kB / 447.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.3906, allocations: 254.6 kB / 447.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.827e-05/0.3907, allocations: 45.69 kB / 447.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.3908, allocations: 149.7 kB / 447.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.391, allocations: 198.3 kB / 447.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002904/0.3913, allocations: 114.6 kB / 447.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.3915, allocations: 346.8 kB / 448.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.3932, allocations: 0.6188 MB / 448.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/0.3949, allocations: 0.7963 MB / 449.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003187/0.3981, allocations: 1.247 MB / 450.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.3981, allocations: 0 / 450.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003701/0.4018, allocations: 1.402 MB / 452.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.4019, allocations: 8 kB / 452.3 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.4019, allocations: 4 kB / 452.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.379e-05/0.4019, allocations: 12 kB / 452.3 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.4033, allocations: 211.7 kB / 452.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-05/0.4033, allocations: 16.3 kB / 452.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009624/0.4043, allocations: 96.02 kB / 452.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.102e-05/0.4043, allocations: 35.98 kB / 452.7 MB, free: 2.199 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.0003769/0.4047, allocations: 193.6 kB / 452.9 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003399/0.4051, allocations: 173.5 kB / 453.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.4052, allocations: 71.61 kB / 453.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.4052, allocations: 8 kB / 453.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.4052, allocations: 0 / 453.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.4052, allocations: 3.984 kB / 453.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005009/0.4103, allocations: 2.18 MB / 455.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/0.4103, allocations: 12 kB / 455.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007779/0.4111, allocations: 187.7 kB / 455.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.951e-05/0.4111, allocations: 16 kB / 455.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.444e-05/0.4111, allocations: 28 kB / 455.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.672e-05/0.4112, allocations: 27.86 kB / 455.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.306e-05/0.4112, allocations: 15.94 kB / 455.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003375/0.4145, allocations: 1.557 MB / 457.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002752/0.4148, allocations: 176.8 kB / 457.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.126e-05/0.4149, allocations: 27.98 kB / 457.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000593/0.4155, allocations: 75.98 kB / 457.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/0.4157, allocations: 103.6 kB / 457.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.007e-05/0.4157, allocations: 28 kB / 457.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002073/0.416, allocations: 186 kB / 457.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.416, allocations: 0 / 457.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006843/0.4166, allocations: 124 kB / 457.9 MB, free: 12.67 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.0002085/0.4168, allocations: 138.9 kB / 458 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00285/0.4197, allocations: 1.03 MB / 459 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4197, allocations: 0 / 459 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.4208, allocations: 342.2 kB / 459.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009635/0.4217, allocations: 136.4 kB / 459.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.4244, allocations: 1.28 MB / 460.8 MB, free: 9.574 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.4249, allocations: 0.8285 MB / 461.6 MB, free: 8.719 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/0.4252, allocations: 43.42 kB / 461.6 MB, free: 8.676 MB / 366.1 MB Notification: Performance of SimCode: time 9.61e-07/0.4252, allocations: 0 / 461.6 MB, free: 8.676 MB / 366.1 MB Notification: Performance of Templates: time 0.01248/0.4377, allocations: 7.437 MB / 469.1 MB, free: 1.258 MB / 366.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/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: 8.23305516410619]