Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.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.001473/0.001473, allocations: 109.1 kB / 21.18 MB, free: 0.7773 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.00155/0.00155, allocations: 210.1 kB / 24.49 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.561/1.561, allocations: 230.5 MB / 258.1 MB, free: 8.031 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.SuperSampled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8007,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8007,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002528/0.002528, allocations: 67.88 kB / 379 MB, free: 2.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3079, allocations: 53.4 MB / 432.4 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.00457/0.3125, allocations: 2.369 MB / 434.8 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.3144, allocations: 0.8182 MB / 435.6 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.3146, allocations: 7.938 kB / 435.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003353/0.3149, allocations: 51.56 kB / 435.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.3152, allocations: 63.56 kB / 435.7 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006219/0.3158, allocations: 167.7 kB / 435.9 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005196/0.3163, allocations: 379.5 kB / 436.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.3165, allocations: 71.61 kB / 436.3 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004143/0.317, allocations: 171.5 kB / 436.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003194/0.3173, allocations: 175.3 kB / 436.7 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.937e-05/0.3173, allocations: 32 kB / 436.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.429e-05/0.3174, allocations: 36 kB / 436.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.3175, allocations: 95.7 kB / 436.8 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.3177, allocations: 143.3 kB / 437 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004754/0.3182, allocations: 329 kB / 437.3 MB, free: 1.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3182, allocations: 0 / 437.3 MB, free: 1.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3182, allocations: 3.938 kB / 437.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.3182, allocations: 0 / 437.3 MB, free: 1.895 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001337/0.3195, allocations: 0.5405 MB / 437.8 MB, free: 1.324 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.3196, allocations: 12.03 kB / 437.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.3197, allocations: 36.75 kB / 437.9 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004594/0.3201, allocations: 210.5 kB / 438.1 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003864/0.3205, allocations: 351.9 kB / 438.4 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.363e-05/0.3206, allocations: 32.33 kB / 438.5 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.3219, allocations: 0.5428 MB / 439 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.3219, allocations: 0 / 439 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.3219, allocations: 12 kB / 439 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.3219, allocations: 8 kB / 439 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.3233, allocations: 0.5075 MB / 439.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.325, allocations: 0.9528 MB / 440.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.3266, allocations: 486.5 kB / 441 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006285/0.3273, allocations: 231.4 kB / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.806e-05/0.3273, allocations: 15.92 kB / 441.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.3274, allocations: 42.5 kB / 441.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.783e-06/0.3274, allocations: 0 / 441.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.03897/0.3663, allocations: 5.728 MB / 447 MB, free: 7.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.3665, allocations: 144.9 kB / 447.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.3667, allocations: 187.5 kB / 447.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.01e-05/0.3668, allocations: 45.7 kB / 447.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.3669, allocations: 141.8 kB / 447.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.3672, allocations: 202.3 kB / 447.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003117/0.3675, allocations: 110.6 kB / 447.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.3677, allocations: 342.8 kB / 448.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/0.3693, allocations: 0.6149 MB / 448.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.3711, allocations: 0.8045 MB / 449.5 MB, free: 5.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003177/0.3743, allocations: 1.247 MB / 450.8 MB, free: 3.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/0.3743, allocations: 4 kB / 450.8 MB, free: 3.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003641/0.378, allocations: 1.394 MB / 452.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.378, allocations: 11.94 kB / 452.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.378, allocations: 8 kB / 452.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.378, allocations: 8 kB / 452.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.3794, allocations: 215.7 kB / 452.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.356e-05/0.3795, allocations: 8 kB / 452.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009393/0.3804, allocations: 107.7 kB / 452.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.42e-05/0.3805, allocations: 28 kB / 452.6 MB, free: 2.113 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.0003558/0.3808, allocations: 185.6 kB / 452.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003474/0.3812, allocations: 153.4 kB / 452.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.3814, allocations: 63.3 kB / 453 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.3814, allocations: 8 kB / 453 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.3814, allocations: 0 / 453 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.3814, allocations: 7.984 kB / 453 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005177/0.3866, allocations: 2.132 MB / 455.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-05/0.3866, allocations: 16.17 kB / 455.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008084/0.3874, allocations: 187.7 kB / 455.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.65e-05/0.3874, allocations: 12 kB / 455.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.866e-05/0.3875, allocations: 28 kB / 455.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.939e-05/0.3875, allocations: 19.92 kB / 455.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.587e-05/0.3875, allocations: 19.92 kB / 455.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003366/0.3909, allocations: 1.549 MB / 456.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/0.3911, allocations: 99.62 kB / 457 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.444e-05/0.3912, allocations: 24 kB / 457.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006065/0.3918, allocations: 75.97 kB / 457.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002102/0.392, allocations: 103.6 kB / 457.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.117e-05/0.3921, allocations: 28 kB / 457.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.3922, allocations: 147.6 kB / 457.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3922, allocations: 0 / 457.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007118/0.393, allocations: 127.9 kB / 457.5 MB, free: 12.81 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.0001954/0.3931, allocations: 134.9 kB / 457.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002928/0.3961, allocations: 1.023 MB / 458.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.3961, allocations: 0 / 458.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.3971, allocations: 338 kB / 459 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009148/0.398, allocations: 131.2 kB / 459.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/0.4008, allocations: 1.206 MB / 460.3 MB, free: 9.805 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005432/0.4013, allocations: 0.8128 MB / 461.2 MB, free: 8.965 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003521/0.4017, allocations: 43.42 kB / 461.2 MB, free: 8.922 MB / 366.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4017, allocations: 0 / 461.2 MB, free: 8.922 MB / 366.1 MB Notification: Performance of Templates: time 0.01301/0.4147, allocations: 7.191 MB / 468.4 MB, free: 1.742 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.sim & ./Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/CascadeControlledDrive/SuperSampled/SuperSampled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.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.087837464176118]