Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 105.6 kB / 17.75 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 192.2 kB / 18.68 MB, free: 4.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.721e-05/2.721e-05, allocations: 2.281 kB / 351.9 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003255/0.003291, allocations: 2.018 MB / 354 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.004448, allocations: 0.5688 MB / 354.5 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.004598, allocations: 8 kB / 354.5 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.238e-05/0.004697, allocations: 19.78 kB / 354.6 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.004898, allocations: 43.62 kB / 354.6 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.005302, allocations: 98.11 kB / 354.7 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.005602, allocations: 203.2 kB / 354.9 MB, free: 324 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.005775, allocations: 53.44 kB / 354.9 MB, free: 264 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.005992, allocations: 79.7 kB / 355 MB, free: 184 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.00612, allocations: 79.62 kB / 355.1 MB, free: 104 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.006166, allocations: 16 kB / 355.1 MB, free: 88 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.273e-05/0.006204, allocations: 16 kB / 355.1 MB, free: 72 kB / 286.1 MB Notification: Performance of combineBinaries: time 0.0002255/0.006436, allocations: 249.4 kB / 355.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.749e-05/0.006522, allocations: 138 kB / 355.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.006571, allocations: 23.88 kB / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.269e-05/0.006609, allocations: 4 kB / 355.5 MB, free: 15.66 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: 23 (23) * Number of variables: 23 (23) Notification: Performance of Bindings: time 0.0007585/0.007373, allocations: 0.7595 MB / 356.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.000152/0.007531, allocations: 66.53 kB / 356.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0003559/0.007895, allocations: 344.1 kB / 356.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of simplify1: time 5.82e-05/0.007961, allocations: 35.95 kB / 356.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of Alias: time 0.0008943/0.008861, allocations: 0.6046 MB / 357.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simplify2: time 4.313e-05/0.008915, allocations: 19.97 kB / 357.4 MB, free: 13.63 MB / 302.1 MB Notification: Performance of Events: time 0.0001186/0.00904, allocations: 59.88 kB / 357.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001864/0.009234, allocations: 116 kB / 357.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001541/0.009397, allocations: 108.3 kB / 357.6 MB, free: 13.31 MB / 302.1 MB Notification: Performance of Causalize: time 0.0004546/0.009858, allocations: 391.9 kB / 358 MB, free: 12.91 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002431/0.01011, allocations: 264.6 kB / 358.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of Inline: time 0.0005362/0.01065, allocations: 0.5094 MB / 358.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of Partitioning: time 4.637e-05/0.01071, allocations: 34.36 kB / 358.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of Cleanup: time 2.797e-05/0.01074, allocations: 23.91 kB / 358.8 MB, free: 12.01 MB / 302.1 MB Notification: Performance of Causalize: time 0.001873/0.01262, allocations: 1.441 MB / 360.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of Tearing: time 0.0004237/0.01306, allocations: 492.4 kB / 360.8 MB, free: 9.984 MB / 302.1 MB Notification: Performance of Initialization: time 1.152e-06/0.01307, allocations: 0 / 360.8 MB, free: 9.984 MB / 302.1 MB Notification: Performance of Tearing: time 0.0001702/0.01325, allocations: 246.2 kB / 361 MB, free: 9.695 MB / 302.1 MB Notification: Performance of Categorize: time 1.217e-05/0.01327, allocations: 0 / 361 MB, free: 9.695 MB / 302.1 MB Notification: Performance of Solve: time 0.0001728/0.01344, allocations: 89.52 kB / 361.1 MB, free: 9.605 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0001962/0.01365, allocations: 278.1 kB / 361.4 MB, free: 9.297 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: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 2 (2) {SaturatingInductance1.Psi, Inductance1.i} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (4) {$SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 15 (scalar:15, 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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 30 (scalar:30, 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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 5.274e-05/0.01371, allocations: 22.7 kB / 361.4 MB, free: 9.277 MB / 302.1 MB Notification: Performance of SimCode: time 0.0009891/0.01471, allocations: 1.188 MB / 362.6 MB, free: 8.07 MB / 302.1 MB Notification: Performance of Templates: time 0.004851/0.01957, allocations: 1.669 MB / 364.2 MB, free: 6.402 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches