Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.002086/0.002086, 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.002121/0.002121, allocations: 209.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.611/1.611, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2759/0.2759, allocations: 46.97 MB / 361.6 MB, free: 4.078 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.609e-05, allocations: 8.891 kB / 0.4973 GB, free: 7.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009517/0.009543, allocations: 6.806 MB / 0.5039 GB, free: 480 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006434/0.01598, allocations: 2.299 MB / 0.5062 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.01735, allocations: 31.88 kB / 0.5062 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00482/0.02217, allocations: 1.687 MB / 0.5078 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002992/0.02516, allocations: 0.7078 MB / 0.5085 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003016/0.02818, allocations: 1.034 MB / 0.5095 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003121/0.0313, allocations: 1.709 MB / 0.5112 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001812/0.03311, allocations: 0.8679 MB / 0.5121 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.0344, allocations: 0.7005 MB / 0.5127 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.03542, allocations: 0.7777 MB / 0.5135 GB, free: 6.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001911/0.03561, allocations: 116 kB / 0.5136 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.0367, allocations: 323.8 kB / 0.5139 GB, free: 6.188 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.00295/0.03965, allocations: 3.047 MB / 0.5169 GB, free: 3.109 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.002017/0.04167, allocations: 1.974 MB / 0.5188 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004922/0.04216, allocations: 108 kB / 0.5189 GB, free: 1.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0003383/0.0425, allocations: 35.86 kB / 0.519 GB, free: 0.9688 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 (280) * Number of variables: 339 (339) Notification: Performance of [SIM] Bindings: time 0.3808/0.4233, allocations: 8.373 MB / 0.5271 GB, free: 19.33 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.003103/0.4264, allocations: 1.333 MB / 0.5284 GB, free: 19.16 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.01338/0.4398, allocations: 8.709 MB / 0.537 GB, free: 14.99 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002345/0.4422, allocations: 0.9691 MB / 0.5379 GB, free: 14.47 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.006612/0.4488, allocations: 4.083 MB / 0.5419 GB, free: 11.75 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001691/0.4505, allocations: 0.9305 MB / 0.5428 GB, free: 11.24 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0007717/0.4512, allocations: 0.517 MB / 0.5433 GB, free: 10.88 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.001497/0.4527, allocations: 1.318 MB / 0.5446 GB, free: 9.961 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0008779/0.4536, allocations: 402.1 kB / 0.545 GB, free: 9.754 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.003503/0.4571, allocations: 2.344 MB / 0.5473 GB, free: 8.516 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.01331/0.4704, allocations: 8.035 MB / 0.5551 GB, free: 5.434 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.004215/0.4746, allocations: 4.598 MB / 0.5596 GB, free: 1.469 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.003905/0.4785, allocations: 1.935 MB / 0.5615 GB, free: 15.36 MB / 398.1 MB Notification: Performance of [INI] Inline: time 0.0117/0.4902, allocations: 7.991 MB / 0.5693 GB, free: 7.43 MB / 398.1 MB Notification: Performance of [INI] Partitioning: time 0.0006606/0.4909, allocations: 111.4 kB / 0.5694 GB, free: 7.293 MB / 398.1 MB Notification: Performance of [INI] Cleanup: time 0.002242/0.4931, allocations: 1.177 MB / 0.5705 GB, free: 6.141 MB / 398.1 MB Notification: Performance of [INI] Causalize: time 0.01671/0.5098, allocations: 7.442 MB / 0.5778 GB, free: 14.62 MB / 414.1 MB Notification: Performance of [INI] Tearing: time 0.001294/0.5111, allocations: 0.7651 MB / 0.5786 GB, free: 13.89 MB / 414.1 MB Notification: Performance of [SIM] Initialization: time 3.557e-06/0.5111, allocations: 0 / 0.5786 GB, free: 13.89 MB / 414.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.933e-05/0.5112, allocations: 6.656 kB / 0.5786 GB, free: 13.88 MB / 414.1 MB Notification: Performance of [SIM] Tearing: time 0.001446/0.5127, allocations: 0.7568 MB / 0.5793 GB, free: 13.14 MB / 414.1 MB Notification: Performance of [SIM] Categorize: time 0.0001628/0.5128, allocations: 12 kB / 0.5793 GB, free: 13.13 MB / 414.1 MB Notification: Performance of [SIM] Solve: time 0.006811/0.5197, allocations: 3.218 MB / 0.5825 GB, free: 9.922 MB / 414.1 MB Notification: Performance of [SIM] Jacobian: time 0.005528/0.5252, allocations: 3.029 MB / 0.5854 GB, free: 6.918 MB / 414.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 1 * 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: ............................. 1 (1) {idealOpeningSwitch.pin_p.reference.gamma} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 18 (18) {booleanStep1.y, booleanStep2.y, booleanStep3.y, booleanStep4.y, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $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: ........... 235 (scalar:235, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:7) * 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] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 247 (scalar:247, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:7) * 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: Performance of backend: time 0.0002473/0.5254, allocations: 85.48 kB / 0.5855 GB, free: 6.848 MB / 414.1 MB Notification: Performance of SimCode: time 0.01428/0.5397, allocations: 7.83 MB / 0.5931 GB, free: 14.95 MB / 430.1 MB Notification: Performance of Templates: time 0.04983/0.5895, allocations: 25.06 MB / 0.6176 GB, free: 6.031 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,I.re,I.im Variables in the result:I.im,I.re,admittance.B_actual,admittance.B_ref,admittance.G_ref,admittance.T,admittance.T_ref,admittance.Y_ref.im,admittance.Y_ref.re,admittance.alpha_ref,admittance.f_ref,booleanStep1.startTime,booleanStep1.startValue,booleanStep2.startTime,booleanStep2.startValue,booleanStep3.startTime,booleanStep3.startValue,booleanStep4.startTime,booleanStep4.startValue,const_admittance.k.im,const_admittance.k.re,const_impedance.k.im,const_impedance.k.re,idealClosingSwitch.Goff,idealClosingSwitch.Ron,idealClosingSwitch.T,idealClosingSwitch.T_heatPort,idealCommutingSwitch.Goff,idealCommutingSwitch.Ron,idealCommutingSwitch.T,idealCommutingSwitch.T_heatPort,idealIntermediateSwitch.Goff,idealIntermediateSwitch.Ron,idealIntermediateSwitch.T,idealIntermediateSwitch.T_heatPort,idealOpeningSwitch.Goff,idealOpeningSwitch.Ron,idealOpeningSwitch.T,idealOpeningSwitch.T_heatPort,impedance.R_ref,impedance.T,impedance.T_ref,impedance.X_actual,impedance.X_ref,impedance.Z_ref.im,impedance.Z_ref.re,impedance.alpha_ref,impedance.f_ref,ramp.duration,ramp.height,ramp.offset,ramp.startTime,time,variableAdmittance.T,variableAdmittance.T_ref,variableAdmittance.alpha_ref,variableAdmittance.f_ref,variableImpedance.T,variableImpedance.T_ref,variableImpedance.alpha_ref,variableImpedance.f_ref,voltageSource.V,voltageSource.f,voltageSource.omega,voltageSource.phi [Calling sys.exit(0), Time elapsed: 9.07239763904363]