Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 85.98 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 168.9 kB / 23.96 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 177.2 MB / 204.3 MB, free: 9.16 MB / 190.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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 325 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.61e-05, allocations: 6.219 kB / 325 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.003579/0.003605, allocations: 2.316 MB / 327.4 MB, free: 15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.005295, allocations: 0.8293 MB / 328.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.005456, allocations: 10.19 kB / 328.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.005741, allocations: 60.48 kB / 328.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002491/0.00599, allocations: 71.33 kB / 328.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000596/0.006586, allocations: 195.7 kB / 328.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000499/0.007085, allocations: 408.8 kB / 328.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.007279, allocations: 70.2 kB / 329 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004538/0.007732, allocations: 233.4 kB / 329.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.008005, allocations: 147.2 kB / 329.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.686e-05/0.008082, allocations: 34.16 kB / 329.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.874e-05/0.008151, allocations: 40.31 kB / 329.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.008322, allocations: 117.3 kB / 329.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.008496, allocations: 107.2 kB / 329.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005265/0.009023, allocations: 397.9 kB / 330 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.009027, allocations: 0 / 330 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.009028, allocations: 5.125 kB / 330 MB, free: 13.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.009039, allocations: 0 / 330 MB, free: 13.54 MB / 302.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.001467/0.01051, allocations: 0.6015 MB / 330.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.01055, allocations: 9.531 kB / 330.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.01065, allocations: 44.92 kB / 330.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.01111, allocations: 248 kB / 330.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003452/0.01146, allocations: 348.8 kB / 331.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-05/0.01153, allocations: 36.19 kB / 331.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.01293, allocations: 0.5706 MB / 331.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.01295, allocations: 9.266 kB / 331.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.546e-05/0.01299, allocations: 18.41 kB / 331.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.013, allocations: 6.781 kB / 331.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/0.01458, allocations: 0.5069 MB / 332.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.01628, allocations: 0.8544 MB / 333.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.01795, allocations: 463.4 kB / 333.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007486/0.0187, allocations: 237.8 kB / 334 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.208e-05/0.01875, allocations: 13.69 kB / 334 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/0.0188, allocations: 50.23 kB / 334 MB, free: 10.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=45): time 2.675e-06/0.0188, allocations: 0 / 334 MB, free: 10.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.04193/0.06073, allocations: 5.802 MB / 339.8 MB, free: 6.109 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.06085, allocations: 149 kB / 340 MB, free: 5.934 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/0.06119, allocations: 273.8 kB / 340.2 MB, free: 5.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.799e-05/0.06128, allocations: 37.7 kB / 340.3 MB, free: 5.617 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.06139, allocations: 153.7 kB / 340.4 MB, free: 5.465 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.06158, allocations: 194.3 kB / 340.6 MB, free: 5.273 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002941/0.06188, allocations: 98.28 kB / 340.7 MB, free: 5.172 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.06203, allocations: 346.8 kB / 341.1 MB, free: 4.824 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/0.06376, allocations: 0.6064 MB / 341.7 MB, free: 4.215 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/0.06557, allocations: 0.6976 MB / 342.4 MB, free: 3.488 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00328/0.06885, allocations: 1.118 MB / 343.5 MB, free: 2.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.06885, allocations: 0 / 343.5 MB, free: 2.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003743/0.0726, allocations: 1.298 MB / 344.8 MB, free: 1.035 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.07261, allocations: 8.219 kB / 344.8 MB, free: 1.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.07263, allocations: 8 kB / 344.8 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.07265, allocations: 4 kB / 344.8 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.07396, allocations: 171.8 kB / 345 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.07397, allocations: 11.92 kB / 345 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009462/0.07492, allocations: 91.84 kB / 345.1 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.531e-05/0.075, allocations: 23.98 kB / 345.1 MB, free: 0.7227 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (67): * Single equations (assignments): 67 * 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.0003422/0.07534, allocations: 177.6 kB / 345.3 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003259/0.07567, allocations: 157.7 kB / 345.4 MB, free: 388 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.07584, allocations: 67.61 kB / 345.5 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.07585, allocations: 8 kB / 345.5 MB, free: 308 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.07586, allocations: 0 / 345.5 MB, free: 308 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.07587, allocations: 7.984 kB / 345.5 MB, free: 300 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005069/0.08094, allocations: 1.942 MB / 347.4 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.08095, allocations: 8 kB / 347.4 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007872/0.08174, allocations: 187.7 kB / 347.6 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.521e-05/0.08175, allocations: 16 kB / 347.6 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.743e-05/0.08181, allocations: 28 kB / 347.7 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-05/0.08183, allocations: 19.92 kB / 347.7 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-05/0.08184, allocations: 15.94 kB / 347.7 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003634/0.08548, allocations: 1.562 MB / 349.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/0.08572, allocations: 107.6 kB / 349.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.961e-05/0.0858, allocations: 27.98 kB / 349.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006365/0.08643, allocations: 75.98 kB / 349.5 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/0.08665, allocations: 103.6 kB / 349.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.975e-05/0.08671, allocations: 39.92 kB / 349.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001977/0.08691, allocations: 185.2 kB / 349.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.08691, allocations: 0 / 349.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006154/0.08753, allocations: 120 kB / 349.9 MB, free: 11.56 MB / 318.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.0001893/0.08771, allocations: 135 kB / 350 MB, free: 11.42 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002965/0.09068, allocations: 0.9986 MB / 351 MB, free: 10.42 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.09068, allocations: 0 / 351 MB, free: 10.42 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.09182, allocations: 342.2 kB / 351.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000936/0.09276, allocations: 151.5 kB / 351.5 MB, free: 9.941 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.09525, allocations: 1.163 MB / 352.7 MB, free: 8.609 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.09552, allocations: 236.5 kB / 352.9 MB, free: 8.355 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004836/0.096, allocations: 95.2 kB / 353 MB, free: 8.258 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/0.09631, allocations: 36.5 kB / 353 MB, free: 8.223 MB / 318.1 MB Notification: Performance of SimCode: time 6.51e-07/0.09631, allocations: 0 / 353 MB, free: 8.223 MB / 318.1 MB Notification: Performance of Templates: time 0.0162/0.1125, allocations: 8.964 MB / 362 MB, free: 15.34 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.631249967962503]