Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001172/0.001172, allocations: 119.7 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001215/0.001215, allocations: 205 kB / 19.42 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.584e-05/1.585e-05, allocations: 2.281 kB / 359.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.003442/0.003466, allocations: 2.918 MB / 362.3 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.00452, allocations: 0.705 MB / 363 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.004663, allocations: 7.938 kB / 363 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.004844, allocations: 63.42 kB / 363 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.005007, allocations: 83.19 kB / 363.1 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.005251, allocations: 99.83 kB / 363.2 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003818/0.005642, allocations: 422.2 kB / 363.6 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.005892, allocations: 153.3 kB / 363.8 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.00614, allocations: 147.5 kB / 363.9 MB, free: 8.324 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.006311, allocations: 163.2 kB / 364.1 MB, free: 8.164 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.769e-05/0.006365, allocations: 32 kB / 364.1 MB, free: 8.133 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.947e-05/0.006421, allocations: 32 kB / 364.1 MB, free: 8.102 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.00039/0.006815, allocations: 0.5174 MB / 364.7 MB, free: 7.582 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001759/0.006998, allocations: 327.1 kB / 365 MB, free: 7.258 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.367e-05/0.007058, allocations: 59.81 kB / 365 MB, free: 7.199 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.078e-05/0.007103, allocations: 8 kB / 365 MB, free: 7.191 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: 79 (79) * Number of variables: 79 (79) Notification: Performance of Bindings: time 0.001378/0.008486, allocations: 1.571 MB / 366.6 MB, free: 5.508 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001007/0.008592, allocations: 71.92 kB / 366.7 MB, free: 5.438 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0006986/0.009299, allocations: 0.7804 MB / 367.5 MB, free: 4.629 MB / 302.1 MB Notification: Performance of simplify1: time 7.34e-05/0.009383, allocations: 75.91 kB / 367.5 MB, free: 4.555 MB / 302.1 MB Notification: Performance of Alias: time 0.00223/0.01162, allocations: 1.898 MB / 369.4 MB, free: 2.504 MB / 302.1 MB Notification: Performance of simplify2: time 3.679e-05/0.01167, allocations: 31.95 kB / 369.5 MB, free: 2.473 MB / 302.1 MB Notification: Performance of Events: time 0.0001314/0.0118, allocations: 77 kB / 369.5 MB, free: 2.398 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002455/0.01206, allocations: 191 kB / 369.7 MB, free: 2.195 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002122/0.01228, allocations: 188.3 kB / 369.9 MB, free: 1.988 MB / 302.1 MB Notification: Performance of Causalize: time 0.0006301/0.01291, allocations: 0.5757 MB / 370.5 MB, free: 1.391 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003575/0.01328, allocations: 405.6 kB / 370.9 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of Inline: time 0.0006721/0.01396, allocations: 0.7234 MB / 371.6 MB, free: 212 kB / 302.1 MB Notification: Performance of Partitioning: time 5.058e-05/0.01402, allocations: 54.28 kB / 371.7 MB, free: 152 kB / 302.1 MB Notification: Performance of Cleanup: time 3.81e-05/0.01406, allocations: 31.97 kB / 371.7 MB, free: 120 kB / 302.1 MB Notification: Performance of Causalize: time 0.1555/0.1696, allocations: 0.9936 MB / 372.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of Tearing: time 9.347e-06/0.1696, allocations: 6.75 kB / 372.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of Initialization: time 1.362e-06/0.1696, allocations: 1.219 kB / 372.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of Tearing: time 4.238e-06/0.1697, allocations: 0 / 372.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of Categorize: time 1.705e-05/0.1697, allocations: 3.203 kB / 372.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of Solve: time 0.0002739/0.17, allocations: 156.8 kB / 372.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0003092/0.1703, allocations: 383.6 kB / 373.2 MB, free: 15.1 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: ............................. 6 (6) {sineVoltage.phi, inductor1.i, capacitor1.v, cosineVoltage.phi, inductor2.i, capacitor2.v} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (4) {$SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 31 (scalar:31, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 47 (scalar:47, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.082e-05/0.1703, allocations: 28.48 kB / 373.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of SimCode: time 0.001304/0.1716, allocations: 1.552 MB / 374.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of Templates: time 0.0053/0.177, allocations: 1.866 MB / 376.7 MB, free: 14.05 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches