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.001357/0.001357, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 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.001475/0.001475, allocations: 216.4 kB / 23.75 MB, free: 4.668 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.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.001952/0.001952, allocations: 51.92 kB / 378.2 MB, free: 2.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3179, allocations: 53.37 MB / 431.6 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.005392/0.3232, allocations: 2.428 MB / 434 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.3254, allocations: 0.8766 MB / 434.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.3256, allocations: 11.94 kB / 434.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004028/0.3261, allocations: 55.48 kB / 435 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.3263, allocations: 71.48 kB / 435.1 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006866/0.327, allocations: 191.6 kB / 435.2 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005561/0.3276, allocations: 395.5 kB / 435.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.3278, allocations: 71.86 kB / 435.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003777/0.3282, allocations: 183.4 kB / 435.9 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.3285, allocations: 183.2 kB / 436.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.134e-05/0.3286, allocations: 36 kB / 436.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.427e-05/0.3286, allocations: 36 kB / 436.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.3288, allocations: 111.6 kB / 436.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.329, allocations: 163 kB / 436.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005917/0.3296, allocations: 371.7 kB / 436.8 MB, free: 1.805 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3296, allocations: 0 / 436.8 MB, free: 1.805 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.3296, allocations: 0 / 436.8 MB, free: 1.805 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.3296, allocations: 3.938 kB / 436.8 MB, free: 1.801 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.001468/0.3311, allocations: 0.6025 MB / 437.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.3311, allocations: 12.03 kB / 437.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.587e-05/0.3312, allocations: 48.7 kB / 437.4 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006097/0.3318, allocations: 253.3 kB / 437.7 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003653/0.3322, allocations: 347.9 kB / 438 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.714e-05/0.3322, allocations: 28.38 kB / 438 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.3335, allocations: 0.5778 MB / 438.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.3336, allocations: 0 / 438.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.938e-05/0.3336, allocations: 12 kB / 438.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.3336, allocations: 11.94 kB / 438.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.335, allocations: 0.5106 MB / 439.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.3368, allocations: 0.9531 MB / 440.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.3385, allocations: 494.5 kB / 440.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006819/0.3392, allocations: 231.3 kB / 440.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.05e-05/0.3392, allocations: 11.98 kB / 440.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.3393, allocations: 42.5 kB / 440.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.124e-06/0.3393, allocations: 4 kB / 440.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.04068/0.38, allocations: 5.772 MB / 446.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.3801, allocations: 145 kB / 446.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.3804, allocations: 261.8 kB / 447 MB, free: 7.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.823e-05/0.3805, allocations: 37.7 kB / 447.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.3806, allocations: 149.7 kB / 447.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/0.3808, allocations: 198.3 kB / 447.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003032/0.3812, allocations: 114.6 kB / 447.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.3813, allocations: 354.8 kB / 447.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.383, allocations: 0.611 MB / 448.5 MB, free: 5.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/0.3849, allocations: 0.7925 MB / 449.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003292/0.3882, allocations: 1.255 MB / 450.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3882, allocations: 0 / 450.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003809/0.392, allocations: 1.406 MB / 451.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.3921, allocations: 8 kB / 451.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.3921, allocations: 8 kB / 452 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/0.3921, allocations: 8 kB / 452 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.3936, allocations: 211.6 kB / 452.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.167e-05/0.3936, allocations: 8 kB / 452.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.3946, allocations: 103.8 kB / 452.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-05/0.3947, allocations: 31.98 kB / 452.3 MB, free: 1.742 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: 2 (kinematicPTP.noWphase,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 (83): * Single equations (assignments): 83 * 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.0003542/0.3951, allocations: 190 kB / 452.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003612/0.3954, allocations: 169.2 kB / 452.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.3957, allocations: 71.61 kB / 452.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.3957, allocations: 8 kB / 452.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.3957, allocations: 4 kB / 452.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.3957, allocations: 3.984 kB / 452.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005155/0.4008, allocations: 2.155 MB / 454.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/0.4009, allocations: 11.94 kB / 454.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00078/0.4016, allocations: 179.7 kB / 455.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.247e-05/0.4017, allocations: 19.98 kB / 455.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.788e-05/0.4017, allocations: 24.44 kB / 455.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.638e-05/0.4017, allocations: 19.94 kB / 455.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.335e-05/0.4018, allocations: 15.94 kB / 455.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003613/0.4054, allocations: 1.561 MB / 456.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002813/0.4056, allocations: 111.9 kB / 456.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.102e-05/0.4057, allocations: 27.98 kB / 456.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006137/0.4063, allocations: 71.92 kB / 456.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/0.4066, allocations: 103.6 kB / 457 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.999e-05/0.4066, allocations: 28 kB / 457.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002263/0.4069, allocations: 189.2 kB / 457.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4069, allocations: 0 / 457.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007397/0.4076, allocations: 128 kB / 457.4 MB, free: 12.33 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: 2 (kinematicPTP.moving[1],kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * 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.0002031/0.4078, allocations: 142 kB / 457.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003171/0.411, allocations: 1.03 MB / 458.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.411, allocations: 0 / 458.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.4121, allocations: 330.7 kB / 458.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.4132, allocations: 157.6 kB / 459 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.416, allocations: 1.236 MB / 460.3 MB, free: 9.277 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/0.4166, allocations: 0.8323 MB / 461.1 MB, free: 8.418 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005096/0.4171, allocations: 100.1 kB / 461.2 MB, free: 8.316 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/0.4174, allocations: 43.44 kB / 461.2 MB, free: 8.273 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4174, allocations: 0 / 461.2 MB, free: 8.273 MB / 366.1 MB Notification: Performance of Templates: time 0.01948/0.4369, allocations: 9.078 MB / 470.3 MB, free: 15.21 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/CascadeControlledDrive/AbsoluteClocks/AbsoluteClocks.csv","/var/lib/jenkins/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: 5.22339201788418]