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.001347/0.001347, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001566/0.001566, allocations: 210.7 kB / 24.48 MB, free: 3.977 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.427/1.427, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.001574/0.001574, allocations: 47.92 kB / 378.9 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2293, allocations: 53.37 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.003914/0.2333, allocations: 2.3 MB / 434.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.2349, allocations: 0.83 MB / 435.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.2351, allocations: 11.94 kB / 435.5 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.2354, allocations: 47.56 kB / 435.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002379/0.2356, allocations: 71.48 kB / 435.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005699/0.2362, allocations: 199.5 kB / 435.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004554/0.2366, allocations: 399.5 kB / 436.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.2368, allocations: 74.83 kB / 436.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002998/0.2371, allocations: 179.4 kB / 436.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.2374, allocations: 187.2 kB / 436.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.07e-05/0.2374, allocations: 36 kB / 436.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.914e-05/0.2375, allocations: 39.94 kB / 436.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.2376, allocations: 111.7 kB / 436.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.2378, allocations: 131.3 kB / 436.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004358/0.2382, allocations: 382 kB / 437.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2382, allocations: 0 / 437.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2382, allocations: 0 / 437.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2382, allocations: 0 / 437.3 MB, free: 1.77 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.001348/0.2396, allocations: 0.6103 MB / 437.9 MB, free: 1.125 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.2396, allocations: 8.031 kB / 437.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.051e-05/0.2397, allocations: 44.7 kB / 437.9 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004688/0.2402, allocations: 253.4 kB / 438.2 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003361/0.2405, allocations: 347.9 kB / 438.5 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/0.2406, allocations: 28.38 kB / 438.5 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.2419, allocations: 0.5778 MB / 439.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.2419, allocations: 0 / 439.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.242, allocations: 12 kB / 439.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.242, allocations: 4 kB / 439.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.2434, allocations: 0.5197 MB / 439.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.245, allocations: 0.8678 MB / 440.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.2465, allocations: 474.4 kB / 441 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006612/0.2472, allocations: 237.4 kB / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.572e-05/0.2473, allocations: 11.98 kB / 441.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.2473, allocations: 46.36 kB / 441.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.973e-06/0.2473, allocations: 0 / 441.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.04441/0.2917, allocations: 5.784 MB / 447.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.2918, allocations: 152.9 kB / 447.2 MB, free: 7.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.2921, allocations: 273.8 kB / 447.5 MB, free: 7.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.891e-05/0.2922, allocations: 37.7 kB / 447.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.2923, allocations: 145.7 kB / 447.7 MB, free: 7.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/0.2926, allocations: 202.3 kB / 447.9 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003267/0.2929, allocations: 122.6 kB / 448 MB, free: 6.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.2931, allocations: 346.7 kB / 448.3 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/0.2947, allocations: 0.6227 MB / 448.9 MB, free: 5.762 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/0.2965, allocations: 0.8003 MB / 449.7 MB, free: 4.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003149/0.2996, allocations: 1.264 MB / 451 MB, free: 3.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.2996, allocations: 4 kB / 451 MB, free: 3.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003712/0.3034, allocations: 1.411 MB / 452.4 MB, free: 2.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.3034, allocations: 8 kB / 452.4 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.3034, allocations: 4 kB / 452.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.3034, allocations: 12 kB / 452.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.3049, allocations: 207.7 kB / 452.6 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/0.3049, allocations: 15.94 kB / 452.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.3059, allocations: 99.77 kB / 452.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.096e-05/0.306, allocations: 32 kB / 452.8 MB, free: 1.75 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.0003469/0.3063, allocations: 190 kB / 453 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003471/0.3067, allocations: 173.2 kB / 453.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.3069, allocations: 63.62 kB / 453.2 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.3069, allocations: 19.92 kB / 453.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3069, allocations: 0 / 453.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.3069, allocations: 4.172 kB / 453.2 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004967/0.3118, allocations: 1.933 MB / 455.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.449e-05/0.3119, allocations: 12 kB / 455.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007854/0.3127, allocations: 180.4 kB / 455.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.767e-05/0.3127, allocations: 20 kB / 455.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.317e-05/0.3127, allocations: 20 kB / 455.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.621e-05/0.3128, allocations: 27.81 kB / 455.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/0.3128, allocations: 15.94 kB / 455.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003395/0.3162, allocations: 1.569 MB / 457 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/0.3164, allocations: 111.6 kB / 457.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.409e-05/0.3165, allocations: 32.06 kB / 457.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006294/0.3171, allocations: 79.84 kB / 457.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.3174, allocations: 99.64 kB / 457.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.438e-05/0.3174, allocations: 28 kB / 457.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002122/0.3176, allocations: 197.1 kB / 457.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3176, allocations: 0 / 457.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006809/0.3183, allocations: 124 kB / 457.7 MB, free: 12.54 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.0001868/0.3185, allocations: 135 kB / 457.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002831/0.3213, allocations: 1.05 MB / 458.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.3213, allocations: 4 kB / 458.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.3224, allocations: 334.4 kB / 459.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009409/0.3233, allocations: 148.7 kB / 459.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.3259, allocations: 1.244 MB / 460.6 MB, free: 9.473 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.3262, allocations: 232.7 kB / 460.8 MB, free: 9.227 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004931/0.3266, allocations: 104.1 kB / 460.9 MB, free: 9.121 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/0.327, allocations: 35.44 kB / 460.9 MB, free: 9.086 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.327, allocations: 0 / 460.9 MB, free: 9.086 MB / 366.1 MB Notification: Performance of Templates: time 0.01623/0.3432, allocations: 9.664 MB / 470.6 MB, free: 15.52 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 gbode -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.709779642987996]