Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001367/0.001367, allocations: 111.8 kB / 18.47 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001242/0.001242, allocations: 214.2 kB / 19.42 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.165e-05, allocations: 6.219 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002805/0.002836, allocations: 2.055 MB / 361.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.004056, allocations: 0.6622 MB / 362.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.004172, allocations: 4 kB / 362.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.749e-05/0.004235, allocations: 19.78 kB / 362.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.004389, allocations: 43.62 kB / 362.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.004775, allocations: 99.75 kB / 362.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.005032, allocations: 207.2 kB / 362.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.00518, allocations: 49.53 kB / 362.5 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.005385, allocations: 99.62 kB / 362.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.449e-05/0.005488, allocations: 71.69 kB / 362.7 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.005528, allocations: 16 kB / 362.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.837e-05/0.005601, allocations: 20 kB / 362.7 MB, free: 9.598 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001875/0.005794, allocations: 249.3 kB / 362.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.645e-05/0.005877, allocations: 149.8 kB / 363.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.005918, allocations: 27.88 kB / 363.1 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.212e-05/0.005944, allocations: 4 kB / 363.1 MB, free: 9.172 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.0006867/0.006635, allocations: 0.7518 MB / 363.9 MB, free: 8.316 MB / 302.1 MB Notification: Performance of FunctionAlias: time 7.095e-05/0.006712, allocations: 35.91 kB / 363.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0003593/0.007078, allocations: 404 kB / 364.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of simplify1: time 3.542e-05/0.007121, allocations: 39.91 kB / 364.3 MB, free: 7.82 MB / 302.1 MB Notification: Performance of Alias: time 0.0007739/0.0079, allocations: 0.5852 MB / 364.9 MB, free: 7.152 MB / 302.1 MB Notification: Performance of simplify2: time 3.221e-05/0.007943, allocations: 31.91 kB / 364.9 MB, free: 7.121 MB / 302.1 MB Notification: Performance of Detect States: time 0.00015/0.008099, allocations: 98.27 kB / 365 MB, free: 7.012 MB / 302.1 MB Notification: Performance of Events: time 0.0001128/0.00822, allocations: 63.86 kB / 365.1 MB, free: 6.949 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001193/0.008347, allocations: 96.36 kB / 365.2 MB, free: 6.832 MB / 302.1 MB Notification: Performance of Causalize: time 0.0003757/0.008729, allocations: 328.3 kB / 365.5 MB, free: 6.488 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002217/0.008959, allocations: 264.1 kB / 365.8 MB, free: 6.203 MB / 302.1 MB Notification: Performance of Inline: time 0.0005353/0.0095, allocations: 0.5459 MB / 366.3 MB, free: 5.621 MB / 302.1 MB Notification: Performance of Partitioning: time 3.571e-05/0.009544, allocations: 32.12 kB / 366.4 MB, free: 5.582 MB / 302.1 MB Notification: Performance of Cleanup: time 2.394e-05/0.009574, allocations: 19.98 kB / 366.4 MB, free: 5.562 MB / 302.1 MB Notification: Performance of Causalize: time 0.001585/0.01116, allocations: 1.335 MB / 367.7 MB, free: 4.219 MB / 302.1 MB Notification: Performance of Tearing: time 0.0002923/0.01147, allocations: 275.8 kB / 368 MB, free: 3.902 MB / 302.1 MB Notification: Performance of Initialization: time 6.11e-07/0.01148, allocations: 0 / 368 MB, free: 3.902 MB / 302.1 MB Notification: Performance of Tearing: time 5.43e-06/0.0115, allocations: 7.875 kB / 368 MB, free: 3.895 MB / 302.1 MB Notification: Performance of Categorize: time 1.131e-05/0.01151, allocations: 4.031 kB / 368 MB, free: 3.891 MB / 302.1 MB Notification: Performance of Solve: time 0.0005634/0.01208, allocations: 0.837 MB / 368.8 MB, free: 2.949 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0001841/0.01227, allocations: 269.6 kB / 369.1 MB, free: 2.652 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: ........... 14 (scalar:14, 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: ........... 27 (scalar:27, 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: 1, nonlinear:1) Notification: Performance of backend: time 4.548e-05/0.01233, allocations: 22.34 kB / 369.1 MB, free: 2.637 MB / 302.1 MB Notification: Performance of SimCode: time 0.0009758/0.01331, allocations: 1.206 MB / 370.3 MB, free: 1.41 MB / 302.1 MB Notification: Performance of Templates: time 0.1674/0.1807, allocations: 1.744 MB / 372.1 MB, free: 15.75 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches