Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.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.001616/0.001616, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 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.00153/0.00153, allocations: 186.9 kB / 24.53 MB, free: 3.746 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.592/1.592, allocations: 225.7 MB / 253.4 MB, free: 12.78 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.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.406e-05, allocations: 2.281 kB / 371.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003398/0.003422, allocations: 1.487 MB / 373.2 MB, free: 7.664 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.005377, allocations: 0.8031 MB / 374 MB, free: 6.855 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.497e-05/0.005432, allocations: 0 / 374 MB, free: 6.855 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.005536, allocations: 11.86 kB / 374 MB, free: 6.844 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.048e-05/0.005627, allocations: 15.86 kB / 374 MB, free: 6.828 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.005988, allocations: 59.88 kB / 374.1 MB, free: 6.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003637/0.006351, allocations: 147.7 kB / 374.2 MB, free: 6.625 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.006492, allocations: 19.97 kB / 374.2 MB, free: 6.605 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005558/0.007047, allocations: 403.2 kB / 374.6 MB, free: 6.211 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.007187, allocations: 59.75 kB / 374.7 MB, free: 6.152 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.062e-05/0.007238, allocations: 8 kB / 374.7 MB, free: 6.145 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.692e-05/0.007285, allocations: 12 kB / 374.7 MB, free: 6.133 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002446/0.007529, allocations: 198.1 kB / 374.9 MB, free: 5.938 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.514e-05/0.007604, allocations: 110.6 kB / 375 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.007644, allocations: 8 kB / 375 MB, free: 5.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.819e-05/0.007662, allocations: 4 kB / 375 MB, free: 5.816 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: 14 (8) * Number of variables: 14 (14) Notification: Performance of [SIM] Bindings: time 0.000855/0.008517, allocations: 0.5968 MB / 375.6 MB, free: 5.098 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 9.522e-05/0.008612, allocations: 67.81 kB / 375.7 MB, free: 5.02 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004015/0.009014, allocations: 360.1 kB / 376 MB, free: 4.641 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001963/0.00921, allocations: 137.9 kB / 376.2 MB, free: 4.461 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0007869/0.009997, allocations: 426.6 kB / 376.6 MB, free: 3.965 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001781/0.01017, allocations: 141.8 kB / 376.7 MB, free: 3.777 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000144/0.01032, allocations: 108.3 kB / 376.8 MB, free: 3.645 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002924/0.01061, allocations: 177.6 kB / 377 MB, free: 3.418 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002207/0.01083, allocations: 106.2 kB / 377.1 MB, free: 3.316 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003703/0.0112, allocations: 240.8 kB / 377.4 MB, free: 3.074 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0003695/0.01157, allocations: 238.3 kB / 377.6 MB, free: 2.836 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004777/0.01205, allocations: 379.7 kB / 378 MB, free: 2.465 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0006568/0.01271, allocations: 302.1 kB / 378.3 MB, free: 2.102 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0006513/0.01336, allocations: 0.5621 MB / 378.8 MB, free: 1.535 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.276e-05/0.01338, allocations: 20.05 kB / 378.8 MB, free: 1.508 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0003477/0.01373, allocations: 263.6 kB / 379.1 MB, free: 1.25 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.000963/0.01469, allocations: 0.6643 MB / 379.8 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.481e-05/0.01472, allocations: 15.94 kB / 379.8 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 5.61e-07/0.01472, allocations: 0 / 379.8 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.536e-05/0.01474, allocations: 20.05 kB / 379.8 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.568e-06/0.01475, allocations: 0 / 379.8 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 3.597e-06/0.01475, allocations: 4 kB / 379.8 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 7.965e-06/0.01476, allocations: 4 kB / 379.8 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 9.636e-05/0.01485, allocations: 39.97 kB / 379.8 MB, free: 496 kB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.129e-05/0.01487, allocations: 4 kB / 379.8 MB, free: 492 kB / 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: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 24 (21) {e_table.y, x_table.y, iNV3S.y, iNV3S.nextstate, iNV3S.yy, iNV3S.inertialDelaySensitive.y, iNV3S.inertialDelaySensitive.delayTime, iNV3S.inertialDelaySensitive.y_auxiliary, iNV3S.inertialDelaySensitive.y_old, iNV3S.inertialDelaySensitive.lh, iNV3S.inertialDelaySensitive.t_next, $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: ........... 1 (scalar:1, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:4, 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: ........... 4 (scalar:4, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:4, 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 5.771e-05/0.01492, allocations: 37.61 kB / 379.9 MB, free: 464 kB / 302.1 MB Notification: Performance of SimCode: time 0.2396/0.2546, allocations: 1.232 MB / 381.1 MB, free: 17.48 MB / 302.1 MB Notification: Performance of Templates: time 0.005467/0.26, allocations: 2.11 MB / 383.2 MB, free: 17.33 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,iNV3S.y Variables in the result:e_table.n,e_table.t[1],e_table.t[2],e_table.t[3],e_table.x[1],e_table.x[2],e_table.x[3],e_table.y0,iNV3S.inertialDelaySensitive.tHL,iNV3S.inertialDelaySensitive.tLH,iNV3S.inertialDelaySensitive.y0,iNV3S.strength,iNV3S.tHL,iNV3S.tLH,iNV3S.y,time,x_table.n,x_table.t[1],x_table.t[2],x_table.x[1],x_table.x[2],x_table.y0 [Calling sys.exit(0), Time elapsed: 4.805539158987813]