Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.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.002411/0.002411, allocations: 79.73 kB / 21.25 MB, free: 392 kB / 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.00223/0.00223, allocations: 163.1 kB / 24.5 MB, free: 3.449 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.482/1.482, allocations: 177.1 MB / 204.7 MB, free: 9.008 MB / 190.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.AbsoluteClocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8007,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 60.16 kB / 325.5 MB, free: 232 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1023, allocations: 53.39 MB / 378.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.004564/0.1069, allocations: 2.306 MB / 381.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.109, allocations: 0.83 MB / 382 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003544/0.1094, allocations: 11.94 kB / 382 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004051/0.1098, allocations: 47.52 kB / 382.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003988/0.1102, allocations: 67.48 kB / 382.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008695/0.111, allocations: 207.4 kB / 382.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000572/0.1116, allocations: 391.6 kB / 382.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.1118, allocations: 75.8 kB / 382.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003579/0.1122, allocations: 171.4 kB / 383 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.1125, allocations: 171.2 kB / 383.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.478e-05/0.1126, allocations: 32 kB / 383.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.21e-05/0.1126, allocations: 36 kB / 383.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.1128, allocations: 115.6 kB / 383.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.1129, allocations: 135.3 kB / 383.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005598/0.1135, allocations: 374.4 kB / 383.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1135, allocations: 4 kB / 383.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1135, allocations: 0 / 383.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.1135, allocations: 3.938 kB / 383.8 MB, free: 10.56 MB / 350.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.001501/0.115, allocations: 0.6064 MB / 384.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1151, allocations: 15.97 kB / 384.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.1152, allocations: 44.7 kB / 384.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.1156, allocations: 249.8 kB / 384.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003455/0.1159, allocations: 355.9 kB / 385.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-05/0.116, allocations: 28.38 kB / 385.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.1173, allocations: 0.5823 MB / 385.7 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.1173, allocations: 0 / 385.7 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.1174, allocations: 16 kB / 385.7 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.1174, allocations: 4 kB / 385.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.1189, allocations: 0.5113 MB / 386.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.1204, allocations: 0.868 MB / 387.1 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.1219, allocations: 470.4 kB / 387.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006666/0.1226, allocations: 249.3 kB / 387.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.686e-05/0.1226, allocations: 11.98 kB / 387.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.1227, allocations: 42.5 kB / 387.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.294e-06/0.1227, allocations: 3.938 kB / 387.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.03769/0.1604, allocations: 5.776 MB / 393.6 MB, free: 496 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.1605, allocations: 145 kB / 393.8 MB, free: 320 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.1608, allocations: 265.8 kB / 394 MB, free: 44 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.161, allocations: 41.78 kB / 394.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.1611, allocations: 149.7 kB / 394.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.1613, allocations: 202.2 kB / 394.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000292/0.1616, allocations: 122.6 kB / 394.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.1618, allocations: 350.7 kB / 394.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001715/0.1635, allocations: 0.6149 MB / 395.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.1654, allocations: 0.812 MB / 396.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003463/0.1688, allocations: 1.253 MB / 397.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/0.1689, allocations: 4 kB / 397.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003943/0.1728, allocations: 1.407 MB / 399 MB, free: 10.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.1728, allocations: 8.406 kB / 399 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.1729, allocations: 11.98 kB / 399 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.323e-05/0.1729, allocations: 12 kB / 399 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.1742, allocations: 207.7 kB / 399.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.402e-05/0.1742, allocations: 11.94 kB / 399.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.1753, allocations: 115.7 kB / 399.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-05/0.1753, allocations: 24 kB / 399.4 MB, free: 10.54 MB / 366.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: 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 (84): * Single equations (assignments): 84 * 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.0003576/0.1757, allocations: 189.6 kB / 399.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000362/0.1761, allocations: 169.6 kB / 399.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.1763, allocations: 71.61 kB / 399.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.1763, allocations: 8 kB / 399.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1763, allocations: 0 / 399.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.1763, allocations: 11.92 kB / 399.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00503/0.1813, allocations: 1.93 MB / 401.7 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-05/0.1813, allocations: 8 kB / 401.7 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007579/0.1821, allocations: 183.7 kB / 401.9 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-05/0.1821, allocations: 23.92 kB / 401.9 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.292e-05/0.1822, allocations: 24 kB / 402 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.102e-05/0.1822, allocations: 23.88 kB / 402 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/0.1822, allocations: 15.94 kB / 402 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003433/0.1856, allocations: 1.574 MB / 403.6 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/0.1859, allocations: 115.5 kB / 403.7 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.552e-05/0.186, allocations: 24 kB / 403.7 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006236/0.1866, allocations: 87.91 kB / 403.8 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/0.1868, allocations: 95.64 kB / 403.9 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.944e-05/0.1868, allocations: 32 kB / 403.9 MB, free: 5.641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002002/0.187, allocations: 193.2 kB / 404.1 MB, free: 5.449 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.187, allocations: 0 / 404.1 MB, free: 5.449 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006704/0.1877, allocations: 124 kB / 404.2 MB, free: 5.328 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: 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.0001641/0.1879, allocations: 131 kB / 404.4 MB, free: 5.191 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002957/0.1908, allocations: 1.043 MB / 405.4 MB, free: 4.148 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/0.1908, allocations: 4 kB / 405.4 MB, free: 4.145 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.1919, allocations: 342.1 kB / 405.7 MB, free: 3.812 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009438/0.1929, allocations: 148.9 kB / 405.9 MB, free: 3.668 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.1955, allocations: 1.252 MB / 407.1 MB, free: 2.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.1957, allocations: 228.7 kB / 407.4 MB, free: 2.008 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004953/0.1962, allocations: 96.09 kB / 407.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003195/0.1966, allocations: 44.48 kB / 407.5 MB, free: 1.863 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1966, allocations: 0 / 407.5 MB, free: 1.863 MB / 366.1 MB Notification: Performance of Templates: time 0.01813/0.2147, allocations: 9.174 MB / 416.7 MB, free: 8.77 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.sim & ./Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/CascadeControlledDrive/AbsoluteClocks/AbsoluteClocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.909059014054947]