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.001785/0.001785, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002284/0.002284, allocations: 184.9 kB / 24.45 MB, free: 3.961 MB / 14.72 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 1.426/1.426, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001658/0.001658, allocations: 47.92 kB / 371.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2874, allocations: 52.17 MB / 423.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.004214/0.2916, allocations: 2.299 MB / 426.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.2935, allocations: 0.7911 MB / 426.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002339/0.2937, allocations: 7.938 kB / 426.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.294, allocations: 59.52 kB / 427 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.2943, allocations: 71.42 kB / 427 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006821/0.295, allocations: 207.2 kB / 427.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005678/0.2956, allocations: 399.5 kB / 427.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.2958, allocations: 63.86 kB / 427.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000336/0.2961, allocations: 171.4 kB / 427.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003211/0.2964, allocations: 171.2 kB / 428 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.296e-05/0.2965, allocations: 32 kB / 428 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.924e-05/0.2966, allocations: 36 kB / 428.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.2967, allocations: 103.7 kB / 428.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.2969, allocations: 151.2 kB / 428.3 MB, free: 9.965 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004972/0.2974, allocations: 372.1 kB / 428.7 MB, free: 9.605 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.2974, allocations: 4 kB / 428.7 MB, free: 9.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2974, allocations: 0 / 428.7 MB, free: 9.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.2974, allocations: 0 / 428.7 MB, free: 9.602 MB / 334.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.001462/0.2989, allocations: 0.6064 MB / 429.3 MB, free: 8.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.2989, allocations: 8.031 kB / 429.3 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.299, allocations: 44.7 kB / 429.4 MB, free: 8.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005228/0.2996, allocations: 257.4 kB / 429.6 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003559/0.2999, allocations: 351.8 kB / 429.9 MB, free: 8.227 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.951e-05/0.3, allocations: 28.38 kB / 430 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.3014, allocations: 0.5778 MB / 430.6 MB, free: 7.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.3014, allocations: 0 / 430.6 MB, free: 7.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/0.3014, allocations: 12 kB / 430.6 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.3014, allocations: 4 kB / 430.6 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.303, allocations: 0.519 MB / 431.1 MB, free: 7.059 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.3046, allocations: 0.8599 MB / 431.9 MB, free: 6.148 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.3062, allocations: 470.5 kB / 432.4 MB, free: 5.652 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006899/0.3068, allocations: 247.3 kB / 432.6 MB, free: 5.398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.848e-05/0.3069, allocations: 12.14 kB / 432.7 MB, free: 5.387 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.3069, allocations: 42.5 kB / 432.7 MB, free: 5.336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 2.274e-06/0.3069, allocations: 0 / 432.7 MB, free: 5.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.03881/0.3457, allocations: 5.784 MB / 438.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.3459, allocations: 148.9 kB / 438.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.3462, allocations: 269.8 kB / 438.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.609e-05/0.3463, allocations: 37.7 kB / 438.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.3464, allocations: 153.7 kB / 439.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.3466, allocations: 210.3 kB / 439.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002967/0.3469, allocations: 118.6 kB / 439.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3471, allocations: 346.7 kB / 439.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001722/0.3488, allocations: 0.6227 MB / 440.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00185/0.3507, allocations: 0.8042 MB / 441.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003324/0.354, allocations: 1.256 MB / 442.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.354, allocations: 4 kB / 442.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003798/0.3578, allocations: 1.411 MB / 443.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3578, allocations: 8 kB / 443.8 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.3578, allocations: 4 kB / 443.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.799e-05/0.3578, allocations: 15.98 kB / 443.9 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.3592, allocations: 203.7 kB / 444.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.3592, allocations: 11.94 kB / 444.1 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009958/0.3602, allocations: 115.7 kB / 444.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.36e-05/0.3603, allocations: 24 kB / 444.2 MB, free: 9.578 MB / 350.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.0003242/0.3606, allocations: 189.6 kB / 444.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003318/0.3609, allocations: 161.7 kB / 444.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.3611, allocations: 67.61 kB / 444.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.3611, allocations: 8 kB / 444.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.3611, allocations: 0 / 444.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.3611, allocations: 15.92 kB / 444.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005072/0.3662, allocations: 1.934 MB / 446.6 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.41e-05/0.3662, allocations: 8 kB / 446.6 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007681/0.367, allocations: 179.7 kB / 446.8 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-05/0.367, allocations: 16 kB / 446.8 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.047e-05/0.3671, allocations: 31.98 kB / 446.8 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-05/0.3671, allocations: 20.22 kB / 446.8 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.189e-05/0.3671, allocations: 19.94 kB / 446.8 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003517/0.3706, allocations: 1.569 MB / 448.4 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/0.3709, allocations: 111.8 kB / 448.5 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.497e-05/0.371, allocations: 27.98 kB / 448.6 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006398/0.3716, allocations: 83.91 kB / 448.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.3719, allocations: 107.6 kB / 448.7 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.958e-05/0.3719, allocations: 28 kB / 448.8 MB, free: 4.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002166/0.3721, allocations: 189.2 kB / 449 MB, free: 4.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3721, allocations: 0 / 449 MB, free: 4.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007098/0.3728, allocations: 124 kB / 449.1 MB, free: 4.383 MB / 350.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.0001859/0.373, allocations: 139 kB / 449.2 MB, free: 4.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003035/0.3761, allocations: 1.039 MB / 450.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.3761, allocations: 4.062 kB / 450.3 MB, free: 3.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.3772, allocations: 342 kB / 450.6 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.3782, allocations: 151.9 kB / 450.7 MB, free: 2.719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.3809, allocations: 1.292 MB / 452 MB, free: 1.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.3812, allocations: 228.6 kB / 452.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003447/0.3815, allocations: 43.42 kB / 452.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3815, allocations: 4 kB / 452.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of Templates: time 0.0119/0.3934, allocations: 7.55 MB / 459.8 MB, free: 9.438 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/CascadeControlledDrive/AbsoluteClocks/AbsoluteClocks.csv","/var/lib/jenkins1/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: 7.9654675158672035]