Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.001524/0.001524, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001621/0.001621, allocations: 205.2 kB / 24.49 MB, free: 3.961 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.505/1.505, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.435e-05, allocations: 2.281 kB / 378.9 MB, free: 2.527 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.1966/0.1967, allocations: 5.01 MB / 383.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003478/0.2001, allocations: 1.773 MB / 385.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003374/0.2005, allocations: 18.12 kB / 385.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0034/0.2039, allocations: 1.506 MB / 387.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.2053, allocations: 0.5779 MB / 387.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008745/0.2062, allocations: 387.8 kB / 388.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.2073, allocations: 1.015 MB / 389.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.2083, allocations: 0.7056 MB / 389.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004406/0.2087, allocations: 388.6 kB / 390.3 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004759/0.2092, allocations: 0.521 MB / 390.8 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.2093, allocations: 77.47 kB / 390.9 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006747/0.21, allocations: 246 kB / 391.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001666/0.2116, allocations: 1.953 MB / 393.1 MB, free: 7.414 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008044/0.2125, allocations: 1.316 MB / 394.4 MB, free: 6.473 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.2126, allocations: 65.47 kB / 394.5 MB, free: 6.473 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.504e-05/0.2127, allocations: 20.95 kB / 394.5 MB, free: 6.465 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: 246 (197) * Number of variables: 246 (246) Notification: Performance of [SIM] Bindings: time 0.005504/0.2182, allocations: 5.751 MB / 400.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007473/0.2189, allocations: 0.7424 MB / 401 MB, free: 2.012 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.004791/0.2237, allocations: 4.958 MB / 405.9 MB, free: 15.04 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000985/0.2247, allocations: 0.6065 MB / 406.5 MB, free: 14.7 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.003094/0.2278, allocations: 2.382 MB / 408.9 MB, free: 12.65 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0009091/0.2287, allocations: 0.5823 MB / 409.5 MB, free: 12.24 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004616/0.2292, allocations: 354.5 kB / 409.8 MB, free: 11.94 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.00107/0.2303, allocations: 0.8564 MB / 410.7 MB, free: 11.14 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0002902/0.2305, allocations: 136.1 kB / 410.8 MB, free: 11.06 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001947/0.2325, allocations: 1.527 MB / 412.4 MB, free: 10.08 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.008651/0.2411, allocations: 5.853 MB / 418.2 MB, free: 5.168 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003184/0.2443, allocations: 2.904 MB / 421.1 MB, free: 2.262 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.00267/0.247, allocations: 1.372 MB / 422.5 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.005471/0.2525, allocations: 5.141 MB / 427.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 0.0002152/0.2527, allocations: 96.52 kB / 427.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0007181/0.2534, allocations: 0.7572 MB / 428.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.007815/0.2612, allocations: 5.309 MB / 433.8 MB, free: 5.168 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 0.000109/0.2613, allocations: 144 kB / 433.9 MB, free: 5.027 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 1.142e-06/0.2613, allocations: 0 / 433.9 MB, free: 5.027 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.146e-05/0.2614, allocations: 6.375 kB / 433.9 MB, free: 5.02 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 9.988e-05/0.2615, allocations: 124 kB / 434.1 MB, free: 4.898 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 4.388e-05/0.2615, allocations: 12 kB / 434.1 MB, free: 4.887 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.003593/0.2651, allocations: 2.298 MB / 436.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of [SIM] Jacobian: time 0.0006534/0.2658, allocations: 0.6022 MB / 437 MB, free: 1.887 MB / 334.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 2 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 2 * 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: ............................. 2 (2) {voltageSource.pin_p.reference.gamma, ground2.pin.reference.gamma} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 3 (3) {$SEV_0, $TEV_1, $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: ........... 243 (scalar:243, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:11) * 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: ........... 254 (scalar:254, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:11) * 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.000126/0.2659, allocations: 97.38 kB / 437.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of SimCode: time 0.004935/0.2708, allocations: 3.571 MB / 440.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of Templates: time 0.02191/0.2927, allocations: 11.81 MB / 452.4 MB, free: 2.316 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma,idealTransformer.v1.re,idealTransformer.v1.im,idealTransformer.i1.re,idealTransformer.i1.im,idealTransformer.v2.re,idealTransformer.v2.im,idealTransformer.i2.re,idealTransformer.i2.im Variables in the result:const.k,const.y,constFrequency.k,constFrequency.y,idealTransformer.i1.im,idealTransformer.i1.re,idealTransformer.i2.im,idealTransformer.i2.re,idealTransformer.n,idealTransformer.v1.im,idealTransformer.v1.re,idealTransformer.v2.im,idealTransformer.v2.re,load.f,load.omega,load.pin_p.reference.gamma,polarToComplex.len,ramp.duration,ramp.height,ramp.offset,ramp.startTime,time,voltageSource.V,voltageSource.f,voltageSource.omega,voltageSource.phi,voltageSource.pin_p.reference.gamma,zk.R_ref,zk.T,zk.T_heatPort,zk.T_ref,zk.X_actual,zk.X_ref,zk.Z_ref.im,zk.Z_ref.re,zk.alpha_ref,zk.f_ref [Calling sys.exit(0), Time elapsed: 4.9441883862018585]