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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001732/0.001732, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003012/0.003012, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.505/1.505, allocations: 227.7 MB / 247.2 MB, free: 10.18 MB / 206.1 MB 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.001945/0.001946, allocations: 68.12 kB / 359 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3283, allocations: 50.54 MB / 409.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.004224/0.3326, allocations: 2.396 MB / 411.9 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.3344, allocations: 0.8572 MB / 412.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.3346, allocations: 11.94 kB / 412.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.3349, allocations: 51.52 kB / 412.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.3352, allocations: 71.48 kB / 412.9 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006212/0.3358, allocations: 198.8 kB / 413.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004696/0.3363, allocations: 395.5 kB / 413.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002554/0.3365, allocations: 103.5 kB / 413.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003345/0.3369, allocations: 175.4 kB / 413.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.3372, allocations: 175.2 kB / 413.9 MB, free: 13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.239e-05/0.3372, allocations: 36 kB / 414 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.349e-05/0.3373, allocations: 32 kB / 414 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.3375, allocations: 111.7 kB / 414.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.3376, allocations: 163 kB / 414.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004862/0.3381, allocations: 374.2 kB / 414.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3382, allocations: 0 / 414.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3382, allocations: 0 / 414.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.3382, allocations: 0 / 414.6 MB, free: 12.3 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.001312/0.3395, allocations: 0.674 MB / 415.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3395, allocations: 15.97 kB / 415.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.204e-05/0.3396, allocations: 44.7 kB / 415.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004779/0.3401, allocations: 315.3 kB / 415.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002189/0.3404, allocations: 138.3 kB / 415.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.37e-05/0.3404, allocations: 36.31 kB / 415.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.3417, allocations: 0.5668 MB / 416.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.3417, allocations: 4 kB / 416.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.375e-05/0.3417, allocations: 8 kB / 416.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3418, allocations: 8 kB / 416.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.3432, allocations: 0.5113 MB / 417 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.3448, allocations: 1.03 MB / 418 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.3465, allocations: 0.4985 MB / 418.5 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006509/0.3472, allocations: 261.1 kB / 418.7 MB, free: 7.957 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.877e-05/0.3472, allocations: 4 kB / 418.7 MB, free: 7.953 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.3473, allocations: 46.5 kB / 418.8 MB, free: 7.898 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 1.783e-06/0.3473, allocations: 0 / 418.8 MB, free: 7.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.03919/0.3865, allocations: 5.768 MB / 424.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/0.3867, allocations: 145 kB / 424.7 MB, free: 1.949 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.387, allocations: 258.6 kB / 425 MB, free: 1.688 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.473e-05/0.3872, allocations: 37.7 kB / 425 MB, free: 1.645 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.3873, allocations: 153.7 kB / 425.1 MB, free: 1.488 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.3876, allocations: 206.3 kB / 425.3 MB, free: 1.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003416/0.3879, allocations: 118.6 kB / 425.5 MB, free: 1.164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.3881, allocations: 342.8 kB / 425.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/0.3899, allocations: 0.6188 MB / 426.4 MB, free: 204 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001926/0.3918, allocations: 0.7925 MB / 427.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003323/0.3951, allocations: 1.247 MB / 428.5 MB, free: 14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.3952, allocations: 0 / 428.5 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003917/0.3991, allocations: 1.406 MB / 429.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.3991, allocations: 8 kB / 429.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.3992, allocations: 8 kB / 429.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.315e-05/0.3992, allocations: 8 kB / 429.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.4006, allocations: 215.6 kB / 430.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.688e-05/0.4007, allocations: 15.97 kB / 430.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.4017, allocations: 103.8 kB / 430.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.4018, allocations: 28 kB / 430.2 MB, free: 12.2 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.0004245/0.4023, allocations: 197.5 kB / 430.4 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003977/0.4027, allocations: 165.6 kB / 430.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.4029, allocations: 71.61 kB / 430.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.4029, allocations: 8 kB / 430.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.403, allocations: 0 / 430.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.403, allocations: 4.219 kB / 430.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0053/0.4083, allocations: 2.183 MB / 432.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.817e-05/0.4083, allocations: 8 kB / 432.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008049/0.4091, allocations: 188.4 kB / 433 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.919e-05/0.4092, allocations: 16 kB / 433.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.146e-05/0.4092, allocations: 28 kB / 433.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.94e-05/0.4093, allocations: 20 kB / 433.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.611e-05/0.4093, allocations: 19.92 kB / 433.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003486/0.4128, allocations: 1.557 MB / 434.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002695/0.4131, allocations: 184.7 kB / 434.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.387e-05/0.4132, allocations: 27.98 kB / 434.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006314/0.4138, allocations: 71.92 kB / 435 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/0.414, allocations: 99.67 kB / 435.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.277e-05/0.4141, allocations: 35.98 kB / 435.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002076/0.4143, allocations: 186 kB / 435.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4143, allocations: 0 / 435.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007229/0.4151, allocations: 124 kB / 435.4 MB, free: 6.672 MB / 350.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.0002043/0.4153, allocations: 135.2 kB / 435.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00313/0.4184, allocations: 1.143 MB / 436.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.4184, allocations: 4 kB / 436.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.4195, allocations: 339.2 kB / 437 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009671/0.4205, allocations: 155.7 kB / 437.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.4233, allocations: 1.227 MB / 438.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/0.4238, allocations: 0.8324 MB / 439.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000573/0.4244, allocations: 100.1 kB / 439.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.4247, allocations: 47.44 kB / 439.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of SimCode: time 1.363e-06/0.4247, allocations: 0 / 439.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of Templates: time 0.01703/0.4418, allocations: 8.526 MB / 447.9 MB, free: 9.992 MB / 366.1 MB 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/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_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches