Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008182/0.0008182, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003482/0.003482, allocations: 146.9 kB / 24.68 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8202/0.8202, allocations: 173.4 MB / 201.2 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.264e-05/3.478e-05, allocations: 2.281 kB / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.004216/0.004251, allocations: 2.277 MB / 321.9 MB, free: 3.562 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.006143, allocations: 0.7908 MB / 322.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002607/0.006403, allocations: 11.94 kB / 322.7 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003816/0.006785, allocations: 59.44 kB / 322.8 MB, free: 2.695 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003248/0.00711, allocations: 67.44 kB / 322.9 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000762/0.007872, allocations: 211.4 kB / 323.1 MB, free: 2.422 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005588/0.008431, allocations: 403.4 kB / 323.5 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.008671, allocations: 75.78 kB / 323.5 MB, free: 1.949 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003941/0.009065, allocations: 235.5 kB / 323.8 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.00933, allocations: 151.5 kB / 323.9 MB, free: 1.57 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.408e-05/0.009414, allocations: 36 kB / 324 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.958e-05/0.009464, allocations: 32 kB / 324 MB, free: 1.504 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.009593, allocations: 115.6 kB / 324.1 MB, free: 1.391 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.009718, allocations: 107.7 kB / 324.2 MB, free: 1.285 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005274/0.01025, allocations: 398.7 kB / 324.6 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.01025, allocations: 0 / 324.6 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.01025, allocations: 0 / 324.6 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.01026, allocations: 0 / 324.6 MB, free: 0.8945 MB / 282.7 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.001171/0.01143, allocations: 0.6025 MB / 325.2 MB, free: 268 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.01148, allocations: 8.031 kB / 325.2 MB, free: 260 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.877e-05/0.01157, allocations: 48.64 kB / 325.3 MB, free: 212 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004988/0.01207, allocations: 249.2 kB / 325.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002799/0.01235, allocations: 347.9 kB / 325.8 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.931e-05/0.01242, allocations: 36.36 kB / 325.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.01367, allocations: 0.5747 MB / 326.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.0137, allocations: 8.141 kB / 326.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.967e-05/0.01374, allocations: 16.12 kB / 326.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.01375, allocations: 4 kB / 326.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.01501, allocations: 0.5152 MB / 327 MB, free: 14.35 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.01648, allocations: 0.8525 MB / 327.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.0178, allocations: 466.4 kB / 328.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006632/0.01846, allocations: 243.4 kB / 328.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.671e-05/0.01852, allocations: 8 kB / 328.5 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.01855, allocations: 50.44 kB / 328.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of pre-optimization done (n=45): time 2.304e-06/0.01855, allocations: 0 / 328.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.01855/0.0371, allocations: 5.776 MB / 334.4 MB, free: 6.848 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.03722, allocations: 153.3 kB / 334.5 MB, free: 6.668 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.03746, allocations: 265.8 kB / 334.8 MB, free: 6.398 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.794e-05/0.03752, allocations: 45.64 kB / 334.8 MB, free: 6.348 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.339e-05/0.03759, allocations: 153.7 kB / 335 MB, free: 6.195 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.03771, allocations: 190.3 kB / 335.2 MB, free: 6.008 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.03789, allocations: 98.28 kB / 335.3 MB, free: 5.906 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.03798, allocations: 342.8 kB / 335.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009199/0.0389, allocations: 0.6103 MB / 336.2 MB, free: 4.953 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.03999, allocations: 0.6898 MB / 336.9 MB, free: 4.234 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.04166, allocations: 1.118 MB / 338 MB, free: 3.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.04166, allocations: 4 kB / 338 MB, free: 3.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002221/0.04388, allocations: 1.302 MB / 339.3 MB, free: 1.777 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.04391, allocations: 4 kB / 339.3 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.04392, allocations: 7.938 kB / 339.3 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.04395, allocations: 4 kB / 339.3 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006444/0.04459, allocations: 179.7 kB / 339.5 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.0446, allocations: 4 kB / 339.5 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/0.04504, allocations: 91.86 kB / 339.6 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.596e-05/0.04509, allocations: 27.92 kB / 339.6 MB, free: 1.465 MB / 298.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.0002558/0.04534, allocations: 173.7 kB / 339.8 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.04557, allocations: 165.3 kB / 340 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.04568, allocations: 79.55 kB / 340 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.04569, allocations: 8 kB / 340 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.04569, allocations: 8 kB / 340.1 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.0457, allocations: 3.984 kB / 340.1 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/0.04852, allocations: 1.922 MB / 342 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.04853, allocations: 8 kB / 342 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/0.04891, allocations: 187.9 kB / 342.2 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.04892, allocations: 16.47 kB / 342.2 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.04895, allocations: 31.94 kB / 342.2 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.285e-05/0.04897, allocations: 19.92 kB / 342.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/0.04898, allocations: 19.88 kB / 342.3 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.05096, allocations: 1.554 MB / 343.8 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.05116, allocations: 115.6 kB / 343.9 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/0.05121, allocations: 27.98 kB / 343.9 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.05152, allocations: 75.98 kB / 344 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.05166, allocations: 103.6 kB / 344.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.05169, allocations: 35.94 kB / 344.2 MB, free: 12.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001417/0.05184, allocations: 189.2 kB / 344.3 MB, free: 12.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05184, allocations: 0 / 344.3 MB, free: 12.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004381/0.05227, allocations: 116 kB / 344.5 MB, free: 12.29 MB / 314.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.0001444/0.05242, allocations: 139 kB / 344.6 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001658/0.05408, allocations: 0.9907 MB / 345.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.05408, allocations: 0 / 345.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006216/0.0547, allocations: 342.3 kB / 345.9 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006989/0.0554, allocations: 151.6 kB / 346.1 MB, free: 10.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.05716, allocations: 1.223 MB / 347.3 MB, free: 9.285 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.05735, allocations: 229.2 kB / 347.5 MB, free: 9.043 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.05759, allocations: 44.48 kB / 347.6 MB, free: 9 MB / 314.7 MB Notification: Performance of SimCode: time 1.663e-06/0.05759, allocations: 3.938 kB / 347.6 MB, free: 8.996 MB / 314.7 MB Notification: Performance of Templates: time 0.009118/0.06671, allocations: 7.403 MB / 355 MB, free: 1.613 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/CascadeControlledDrive/AbsoluteClocks/AbsoluteClocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.577036083675921]