Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller.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.001832/0.001832, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.002233/0.002233, allocations: 219.4 kB / 24.5 MB, free: 3.926 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.456/1.456, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|PI.I.y|inertia1.phi|inertia1.w|integrator.y|spring.phi_rel|spring.w_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller") translateModel(Modelica.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|PI.I.y|inertia1.phi|inertia1.w|integrator.y|spring.phi_rel|spring.w_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.382e-05/3.382e-05, allocations: 10.22 kB / 378.9 MB, free: 2.535 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.222/0.222, allocations: 2.909 MB / 381.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.224, allocations: 0.9735 MB / 382.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003013/0.2243, allocations: 16.81 kB / 382.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003664/0.2247, allocations: 86.3 kB / 382.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.2249, allocations: 108.5 kB / 383 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005775/0.2255, allocations: 228.7 kB / 383.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006124/0.2261, allocations: 0.6397 MB / 383.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/0.2264, allocations: 121.2 kB / 384 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/0.2266, allocations: 247.1 kB / 384.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.2269, allocations: 204.3 kB / 384.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.44e-05/0.2269, allocations: 45.12 kB / 384.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.281e-05/0.227, allocations: 42.09 kB / 384.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005428/0.2275, allocations: 0.8814 MB / 385.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002995/0.2278, allocations: 0.5819 MB / 386 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.295e-05/0.2279, allocations: 32.06 kB / 386 MB, free: 11.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.714e-05/0.228, allocations: 30.84 kB / 386 MB, free: 11.65 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 (89) * Number of variables: 89 (89) Notification: Performance of [SIM] Bindings: time 0.001764/0.2298, allocations: 2.116 MB / 388.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002775/0.23, allocations: 247.7 kB / 388.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0008542/0.2309, allocations: 0.994 MB / 389.4 MB, free: 9.379 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003112/0.2312, allocations: 227.6 kB / 389.6 MB, free: 9.219 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002201/0.2334, allocations: 1.747 MB / 391.4 MB, free: 8.102 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001977/0.2336, allocations: 180.6 kB / 391.5 MB, free: 7.973 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 8.65e-05/0.2337, allocations: 109.2 kB / 391.6 MB, free: 7.875 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003088/0.234, allocations: 291.7 kB / 391.9 MB, free: 7.629 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.000155/0.2342, allocations: 103.8 kB / 392 MB, free: 7.578 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003856/0.2345, allocations: 370 kB / 392.4 MB, free: 7.391 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002922/0.2375, allocations: 2.195 MB / 394.6 MB, free: 6.543 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000638/0.2381, allocations: 0.7001 MB / 395.3 MB, free: 6.16 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0008964/0.239, allocations: 0.5643 MB / 395.9 MB, free: 5.797 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0009687/0.24, allocations: 1.052 MB / 396.9 MB, free: 5.223 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 5.637e-05/0.24, allocations: 31.62 kB / 396.9 MB, free: 5.195 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002343/0.2403, allocations: 273.4 kB / 397.2 MB, free: 5.027 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.003336/0.2436, allocations: 2.438 MB / 399.6 MB, free: 4.461 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0002376/0.2438, allocations: 212.5 kB / 399.8 MB, free: 4.379 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.162e-06/0.2438, allocations: 1.438 kB / 399.8 MB, free: 4.379 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.536e-06/0.2438, allocations: 8.312 kB / 399.9 MB, free: 4.371 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.368e-05/0.2439, allocations: 24.78 kB / 399.9 MB, free: 4.355 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.54e-05/0.2439, allocations: 2.406 kB / 399.9 MB, free: 4.355 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001102/0.245, allocations: 0.781 MB / 400.7 MB, free: 4.074 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0004087/0.2454, allocations: 443.3 kB / 401.1 MB, free: 3.773 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 6 (6) {spring.phi_rel, inertia2.w, integrator.y, loadTorque.phi, PI.I.y, spring.w_rel} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 11 (11) {kinematicPTP.noWphase, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 56 (scalar:55, array:1, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 76 (scalar:75, array:1, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 79 (scalar:78, array:1, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001189/0.2455, allocations: 65.75 kB / 401.2 MB, free: 3.719 MB / 302.1 MB Notification: Performance of SimCode: time 0.001604/0.2471, allocations: 1.679 MB / 402.8 MB, free: 2.559 MB / 302.1 MB Notification: Performance of Templates: time 0.008869/0.256, allocations: 4.325 MB / 407.2 MB, free: 296 kB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/PID_Controller/PID_Controller.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,PI.I.y,inertia1.phi,inertia1.w,integrator.y,spring.phi_rel,spring.w_rel Variables in the result:PI.Dzero.k,PI.Dzero.y,PI.FFzero.k,PI.FFzero.y,PI.I.initType,PI.I.k,PI.I.y,PI.I.y_start,PI.Nd,PI.Ni,PI.P.k,PI.Td,PI.Ti,PI.addFF.k1,PI.addFF.k2,PI.addFF.u2,PI.addI.k1,PI.addI.k2,PI.addI.k3,PI.addP.k1,PI.addP.k2,PI.addPID.k1,PI.addPID.k2,PI.addPID.k3,PI.addPID.u2,PI.addSat.k1,PI.addSat.k2,PI.controllerType,PI.gainPID.k,PI.gainTrack.k,PI.homotopyType,PI.initType,PI.k,PI.kFF,PI.limiter.homotopyType,PI.limiter.strict,PI.limiter.uMax,PI.limiter.uMin,PI.strict,PI.wd,PI.withFeedForward,PI.wp,PI.xd_start,PI.xi_start,PI.yMax,PI.yMin,PI.y_start,driveAngle,inertia1.J,inertia1.phi,inertia1.w,inertia2.J,inertia2.flange_b.tau,integrator.initType,integrator.k,integrator.y,integrator.y_start,kinematicPTP.deltaq[1],kinematicPTP.nout,kinematicPTP.p_deltaq[1],kinematicPTP.p_qd_max[1],kinematicPTP.p_qdd_max[1],kinematicPTP.qd_max[1],kinematicPTP.qdd_max[1],kinematicPTP.startTime,loadTorque.flange.tau,loadTorque.phi_support,loadTorque.tau,loadTorque.tau_constant,speedSensor.flange.tau,spring.c,spring.d,spring.phi_nominal,spring.phi_rel,spring.phi_rel0,spring.w_rel,time,torque.phi_support [Calling sys.exit(0), Time elapsed: 4.798667014110833]