Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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.001318/0.001318, 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.001511/0.001511, 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.476/1.476, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.594e-05, allocations: 6.219 kB / 378.9 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.2209/0.2209, allocations: 3.212 MB / 382.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.2225, allocations: 0.8103 MB / 383 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.2227, allocations: 9.562 kB / 383 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.2229, allocations: 66.75 kB / 383 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.2232, allocations: 140.8 kB / 383.2 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/0.2236, allocations: 141.2 kB / 383.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007513/0.2243, allocations: 0.6034 MB / 383.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002622/0.2246, allocations: 91.72 kB / 384 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003834/0.225, allocations: 228.9 kB / 384.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.2252, allocations: 213.2 kB / 384.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.654e-05/0.2253, allocations: 40.12 kB / 384.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.2255, allocations: 41.83 kB / 384.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006706/0.2261, allocations: 0.8472 MB / 385.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003329/0.2265, allocations: 0.5265 MB / 385.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.2266, allocations: 42.38 kB / 385.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.423e-05/0.2266, allocations: 22.47 kB / 386 MB, free: 11.71 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: 80 (80) * Number of variables: 80 (80) Notification: Performance of [SIM] Bindings: time 0.001741/0.2284, allocations: 1.973 MB / 387.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002101/0.2286, allocations: 212.8 kB / 388.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001111/0.2297, allocations: 1.099 MB / 389.2 MB, free: 9.574 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003376/0.23, allocations: 263.8 kB / 389.5 MB, free: 9.402 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002418/0.2324, allocations: 1.635 MB / 391.1 MB, free: 8.449 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002506/0.2327, allocations: 189.3 kB / 391.3 MB, free: 8.312 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001137/0.2328, allocations: 97.69 kB / 391.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002528/0.233, allocations: 212.2 kB / 391.6 MB, free: 8.035 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002097/0.2333, allocations: 104.8 kB / 391.7 MB, free: 7.984 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004798/0.2337, allocations: 391.1 kB / 392.1 MB, free: 7.738 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001016/0.2348, allocations: 0.6612 MB / 392.8 MB, free: 7.492 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006932/0.2354, allocations: 0.5875 MB / 393.3 MB, free: 7.199 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0008964/0.2363, allocations: 0.5273 MB / 393.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001237/0.2376, allocations: 1.06 MB / 394.9 MB, free: 6.289 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 5.03e-05/0.2376, allocations: 30.41 kB / 395 MB, free: 6.266 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001437/0.2378, allocations: 156.2 kB / 395.1 MB, free: 6.18 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001727/0.2395, allocations: 1.09 MB / 396.2 MB, free: 5.902 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0006879/0.2402, allocations: 441.1 kB / 396.6 MB, free: 5.797 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.956e-06/0.2402, allocations: 5.25 kB / 396.6 MB, free: 5.793 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.237e-06/0.2402, allocations: 1.156 kB / 396.6 MB, free: 5.793 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0003536/0.2406, allocations: 207.2 kB / 396.8 MB, free: 5.742 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.142e-05/0.2406, allocations: 10.56 kB / 396.9 MB, free: 5.734 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0007069/0.2413, allocations: 442.8 kB / 397.3 MB, free: 5.598 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0005941/0.2419, allocations: 0.8241 MB / 398.1 MB, free: 4.816 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 6 * 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: ................. 12 (12) {Ideal.off, With_Ron_Goff.off, With_Ron_Goff_Vknee.off, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 22 (scalar:22, array:0, 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: ... 3 (linear: 3, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 46 (scalar:46, array:0, 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: ... 3 (linear: 3, nonlinear:0) Notification: Performance of backend: time 0.0001256/0.242, allocations: 26.58 kB / 398.1 MB, free: 4.805 MB / 302.1 MB Notification: Performance of SimCode: time 0.001837/0.2438, allocations: 1.369 MB / 399.5 MB, free: 4.066 MB / 302.1 MB Notification: Performance of Templates: time 0.1554/0.3993, allocations: 4.407 MB / 403.9 MB, free: 1.867 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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: 5.4008999187499285]