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.0007971/0.0007971, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00111/0.001907, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006764/0.0006764, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008731/0.00155, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9473/0.9473, allocations: 177.5 MB / 190 MB, free: 4.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08835/1.036, allocations: 53.86 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] 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 1.173e-06/1.173e-06, allocations: 0 / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.761e-05/1.879e-05, allocations: 2.312 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.002447/0.002465, allocations: 2.395 MB / 247.6 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008703/0.003336, allocations: 0.8138 MB / 248.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.00344, allocations: 8 kB / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.003599, allocations: 51.58 kB / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.003723, allocations: 55.5 kB / 248.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.004016, allocations: 179.4 kB / 248.7 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.00428, allocations: 367.6 kB / 249 MB, free: 9.684 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.004405, allocations: 74.41 kB / 249.1 MB, free: 9.609 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002532/0.004658, allocations: 251.5 kB / 249.4 MB, free: 9.363 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.004816, allocations: 143.6 kB / 249.5 MB, free: 9.223 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.004854, allocations: 32 kB / 249.5 MB, free: 9.191 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.431e-05/0.004888, allocations: 36 kB / 249.6 MB, free: 9.156 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.912e-05/0.004958, allocations: 67.8 kB / 249.6 MB, free: 9.09 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.062e-05/0.005018, allocations: 79.8 kB / 249.7 MB, free: 9.012 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.00522, allocations: 219.2 kB / 249.9 MB, free: 8.797 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.005227, allocations: 0 / 249.9 MB, free: 8.797 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005228, allocations: 0 / 249.9 MB, free: 8.797 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.005237, allocations: 0 / 249.9 MB, free: 8.797 MB / 250.7 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.0006466/0.005883, allocations: 0.5583 MB / 250.5 MB, free: 8.215 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.572e-05/0.005909, allocations: 8.031 kB / 250.5 MB, free: 8.207 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.462e-05/0.005974, allocations: 64.89 kB / 250.6 MB, free: 8.145 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.006164, allocations: 181.8 kB / 250.7 MB, free: 7.941 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.006322, allocations: 339.9 kB / 251.1 MB, free: 7.543 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.006361, allocations: 32.33 kB / 251.1 MB, free: 7.512 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.006782, allocations: 413.3 kB / 251.5 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.006794, allocations: 3.938 kB / 251.5 MB, free: 7.074 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.006814, allocations: 8 kB / 251.5 MB, free: 7.066 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.006821, allocations: 8 kB / 251.5 MB, free: 7.059 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/0.007054, allocations: 182.5 kB / 251.7 MB, free: 6.879 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006414/0.007696, allocations: 0.6353 MB / 252.3 MB, free: 6.207 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000415/0.008111, allocations: 338.7 kB / 252.7 MB, free: 5.836 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.008219, allocations: 103.5 kB / 252.8 MB, free: 5.723 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.008253, allocations: 11.94 kB / 252.8 MB, free: 5.711 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.008275, allocations: 46.84 kB / 252.8 MB, free: 5.656 MB / 250.7 MB Notification: Performance of pre-optimization done (n=45): time 1.743e-06/0.008276, allocations: 4 kB / 252.8 MB, free: 5.652 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.005356/0.01363, allocations: 2.264 MB / 255.1 MB, free: 3.379 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.01369, allocations: 145 kB / 255.2 MB, free: 3.207 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.301e-05/0.01379, allocations: 179.3 kB / 255.4 MB, free: 3.02 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.01384, allocations: 37.7 kB / 255.4 MB, free: 2.977 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.01388, allocations: 137.7 kB / 255.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.01399, allocations: 190.3 kB / 255.8 MB, free: 2.652 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.01414, allocations: 98.28 kB / 255.9 MB, free: 2.551 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.472e-05/0.01421, allocations: 350.6 kB / 256.2 MB, free: 2.199 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.01444, allocations: 200.2 kB / 256.4 MB, free: 2 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.0147, allocations: 290.7 kB / 256.7 MB, free: 1.691 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008722/0.01557, allocations: 0.4946 MB / 257.2 MB, free: 1.168 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.01557, allocations: 0 / 257.2 MB, free: 1.168 MB / 250.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005698/0.01614, allocations: 0.5287 MB / 257.7 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.01615, allocations: 12.02 kB / 257.7 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.01616, allocations: 4 kB / 257.7 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.01617, allocations: 4 kB / 257.7 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/0.01673, allocations: 183.7 kB / 257.9 MB, free: 440 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.01673, allocations: 4 kB / 257.9 MB, free: 436 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005051/0.01724, allocations: 75.86 kB / 258 MB, free: 360 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/0.01729, allocations: 12 kB / 258 MB, free: 348 kB / 250.7 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.0002002/0.01749, allocations: 160.4 kB / 258.1 MB, free: 176 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.0177, allocations: 113.6 kB / 258.3 MB, free: 56 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.732e-05/0.0178, allocations: 63.3 kB / 258.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.0178, allocations: 8 kB / 258.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.01781, allocations: 4 kB / 258.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.01781, allocations: 7.922 kB / 258.3 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.01947, allocations: 1.197 MB / 259.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.01948, allocations: 8 kB / 259.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000417/0.01989, allocations: 183.7 kB / 259.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.02, allocations: 51.73 kB / 259.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/0.02001, allocations: 16 kB / 259.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.02004, allocations: 27.98 kB / 259.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.029e-05/0.02005, allocations: 16.28 kB / 259.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.02006, allocations: 19.94 kB / 259.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006546/0.02071, allocations: 0.8435 MB / 260.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.02076, allocations: 24 kB / 260.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.02106, allocations: 71.97 kB / 260.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.02118, allocations: 83.64 kB / 260.9 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.0212, allocations: 27.94 kB / 260.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.012e-05/0.02125, allocations: 49.06 kB / 260.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02125, allocations: 0 / 260.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003623/0.02162, allocations: 116 kB / 261.1 MB, free: 12.94 MB / 266.7 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.0001185/0.02173, allocations: 120.2 kB / 261.2 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005412/0.02228, allocations: 465.7 kB / 261.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-05/0.0223, allocations: 15.98 kB / 261.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.02253, allocations: 189.2 kB / 261.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005854/0.02311, allocations: 360.8 kB / 262.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.02549, allocations: 1.117 MB / 263.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.0256, allocations: 130.8 kB / 263.4 MB, free: 10.33 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002673/0.02586, allocations: 75.2 kB / 263.5 MB, free: 10.26 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.02616, allocations: 115.3 kB / 263.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of SimCode: time 1.102e-06/0.02616, allocations: 8 kB / 263.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of Templates: time 0.01036/0.03653, allocations: 9.34 MB / 273 MB, free: 0.8359 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/CascadeControlledDrive/SuperSampled/SuperSampled.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5744087509810925]