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.001583/0.001583, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001729/0.001729, allocations: 167.3 kB / 24.5 MB, free: 3.453 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.401/1.401, allocations: 177.2 MB / 204.9 MB, free: 9.055 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 0.001633/0.001633, allocations: 51.25 kB / 325.6 MB, free: 276 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09837/0.1, allocations: 53.33 MB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.004037/0.104, allocations: 2.303 MB / 381.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.1057, allocations: 0.826 MB / 382 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.1058, allocations: 11.94 kB / 382 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.1061, allocations: 51.52 kB / 382.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.1064, allocations: 71.48 kB / 382.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005645/0.1069, allocations: 199.6 kB / 382.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004791/0.1074, allocations: 391.6 kB / 382.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.1076, allocations: 75.78 kB / 382.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003076/0.1079, allocations: 179.4 kB / 383 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.1082, allocations: 171.2 kB / 383.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.013e-05/0.1082, allocations: 32 kB / 383.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.02e-05/0.1083, allocations: 39.94 kB / 383.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.1084, allocations: 115.6 kB / 383.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.1086, allocations: 139.2 kB / 383.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004536/0.1091, allocations: 374.5 kB / 383.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1091, allocations: 0 / 383.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1091, allocations: 0 / 383.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1091, allocations: 0 / 383.8 MB, free: 10.74 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.001407/0.1105, allocations: 0.6064 MB / 384.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1105, allocations: 8.031 kB / 384.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.997e-05/0.1106, allocations: 48.7 kB / 384.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004802/0.1111, allocations: 253.8 kB / 384.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003503/0.1114, allocations: 347.9 kB / 385.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.249e-05/0.1115, allocations: 28.38 kB / 385.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.1129, allocations: 0.5784 MB / 385.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.1129, allocations: 0 / 385.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.847e-05/0.1129, allocations: 12 kB / 385.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.1129, allocations: 4 kB / 385.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/0.1145, allocations: 0.519 MB / 386.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.1161, allocations: 0.8641 MB / 387.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.1177, allocations: 478.3 kB / 387.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007192/0.1184, allocations: 243.3 kB / 387.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.645e-05/0.1185, allocations: 4 kB / 387.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.1185, allocations: 46.55 kB / 387.8 MB, free: 6.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.054e-06/0.1185, allocations: 0 / 387.8 MB, free: 6.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.04101/0.1595, allocations: 5.788 MB / 393.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.1597, allocations: 145.1 kB / 393.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.16, allocations: 265.8 kB / 394 MB, free: 236 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.814e-05/0.16, allocations: 41.7 kB / 394.1 MB, free: 188 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1602, allocations: 150.1 kB / 394.2 MB, free: 32 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/0.1604, allocations: 202.5 kB / 394.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/0.1607, allocations: 118.6 kB / 394.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1608, allocations: 342.6 kB / 394.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00183/0.1627, allocations: 0.6343 MB / 395.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/0.1646, allocations: 0.8082 MB / 396.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00344/0.168, allocations: 1.256 MB / 397.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.1681, allocations: 7.938 kB / 397.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003945/0.172, allocations: 1.403 MB / 399 MB, free: 11.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.172, allocations: 8 kB / 399 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.172, allocations: 7.984 kB / 399 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.1721, allocations: 12 kB / 399 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.1735, allocations: 211.7 kB / 399.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/0.1735, allocations: 11.98 kB / 399.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.1745, allocations: 107.7 kB / 399.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.82e-05/0.1746, allocations: 27.98 kB / 399.3 MB, free: 10.71 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.0003294/0.1749, allocations: 189.6 kB / 399.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/0.1753, allocations: 169.3 kB / 399.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.1754, allocations: 67.61 kB / 399.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.647e-06/0.1754, allocations: 8 kB / 399.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1754, allocations: 0 / 399.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.1755, allocations: 12.16 kB / 399.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005277/0.1807, allocations: 1.929 MB / 401.7 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.1808, allocations: 8 kB / 401.7 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007992/0.1816, allocations: 184.6 kB / 401.9 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-05/0.1816, allocations: 16 kB / 401.9 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.053e-05/0.1816, allocations: 31.98 kB / 401.9 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.719e-05/0.1816, allocations: 19.88 kB / 402 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.076e-05/0.1817, allocations: 15.94 kB / 402 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003624/0.1853, allocations: 1.582 MB / 403.6 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/0.1855, allocations: 111.6 kB / 403.7 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.477e-05/0.1856, allocations: 31.92 kB / 403.7 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000631/0.1862, allocations: 71.92 kB / 403.8 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/0.1864, allocations: 103.6 kB / 403.9 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.655e-05/0.1865, allocations: 32 kB / 403.9 MB, free: 5.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001928/0.1867, allocations: 185.2 kB / 404.1 MB, free: 5.637 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1867, allocations: 0 / 404.1 MB, free: 5.637 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007408/0.1874, allocations: 128.1 kB / 404.2 MB, free: 5.512 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.0001832/0.1876, allocations: 139 kB / 404.3 MB, free: 5.367 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003008/0.1906, allocations: 1.042 MB / 405.4 MB, free: 4.324 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.1906, allocations: 4 kB / 405.4 MB, free: 4.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.1917, allocations: 334.6 kB / 405.7 MB, free: 3.996 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009528/0.1927, allocations: 155.6 kB / 405.9 MB, free: 3.848 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.1953, allocations: 1.251 MB / 407.1 MB, free: 2.434 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.1955, allocations: 232.7 kB / 407.3 MB, free: 2.188 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004548/0.196, allocations: 96.09 kB / 407.4 MB, free: 2.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003006/0.1963, allocations: 44.48 kB / 407.5 MB, free: 2.043 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1963, allocations: 0 / 407.5 MB, free: 2.043 MB / 366.1 MB Notification: Performance of Templates: time 0.01722/0.2135, allocations: 9.166 MB / 416.7 MB, free: 8.961 MB / 382.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 -s ida -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/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_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.725690964027308]