Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 111.8 kB / 17.75 MB, free: 5.312 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.001247/0.001247, allocations: 185.8 kB / 18.68 MB, free: 4.398 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.208/1.208, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.603e-05, allocations: 5.797 kB / 351.9 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004848/0.004885, allocations: 2.87 MB / 354.8 MB, free: 408 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.00629, allocations: 0.6777 MB / 355.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.00648, allocations: 8 kB / 355.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.006741, allocations: 67.38 kB / 355.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.007001, allocations: 83.23 kB / 355.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.007318, allocations: 87.83 kB / 355.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005293/0.007861, allocations: 434.2 kB / 356.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003616/0.008234, allocations: 153.3 kB / 356.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.00848, allocations: 151.5 kB / 356.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.008701, allocations: 155.3 kB / 356.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.13e-05/0.008772, allocations: 32 kB / 356.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.217e-05/0.008853, allocations: 32 kB / 356.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005137/0.009374, allocations: 0.5176 MB / 357.2 MB, free: 14.01 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002446/0.009631, allocations: 323.2 kB / 357.5 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.87e-05/0.009721, allocations: 59.81 kB / 357.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.907e-05/0.009789, allocations: 8 kB / 357.6 MB, free: 13.62 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.001766/0.01156, allocations: 1.575 MB / 359.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001187/0.01169, allocations: 75.86 kB / 359.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0009814/0.01268, allocations: 0.7726 MB / 360 MB, free: 11.06 MB / 302.1 MB Notification: Performance of simplify1: time 9.451e-05/0.01279, allocations: 67.92 kB / 360.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of Alias: time 0.002966/0.01576, allocations: 1.907 MB / 362 MB, free: 8.934 MB / 302.1 MB Notification: Performance of simplify2: time 5.003e-05/0.01583, allocations: 35.95 kB / 362 MB, free: 8.898 MB / 302.1 MB Notification: Performance of Events: time 0.0001582/0.01599, allocations: 77.38 kB / 362.1 MB, free: 8.824 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003017/0.0163, allocations: 192.8 kB / 362.3 MB, free: 8.621 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002799/0.0166, allocations: 184.8 kB / 362.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of Causalize: time 0.0009387/0.01755, allocations: 0.5801 MB / 363 MB, free: 7.816 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005305/0.0181, allocations: 393.6 kB / 363.4 MB, free: 7.406 MB / 302.1 MB Notification: Performance of Inline: time 0.001019/0.01913, allocations: 0.7312 MB / 364.1 MB, free: 6.641 MB / 302.1 MB Notification: Performance of Partitioning: time 7.178e-05/0.01922, allocations: 50.31 kB / 364.2 MB, free: 6.582 MB / 302.1 MB Notification: Performance of Cleanup: time 4.202e-05/0.01927, allocations: 27.97 kB / 364.2 MB, free: 6.555 MB / 302.1 MB Notification: Performance of Causalize: time 0.001716/0.02099, allocations: 1.014 MB / 365.2 MB, free: 5.531 MB / 302.1 MB Notification: Performance of Tearing: time 8.245e-06/0.02102, allocations: 7.875 kB / 365.2 MB, free: 5.523 MB / 302.1 MB Notification: Performance of Initialization: time 4.3e-07/0.02102, allocations: 0 / 365.2 MB, free: 5.523 MB / 302.1 MB Notification: Performance of Tearing: time 5.23e-06/0.02104, allocations: 3.984 kB / 365.2 MB, free: 5.52 MB / 302.1 MB Notification: Performance of Categorize: time 1.138e-05/0.02106, allocations: 4 kB / 365.2 MB, free: 5.516 MB / 302.1 MB Notification: Performance of Solve: time 0.0003182/0.02138, allocations: 154 kB / 365.4 MB, free: 5.367 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0004889/0.02188, allocations: 379 kB / 365.8 MB, free: 4.961 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.99e-05/0.02196, allocations: 45.69 kB / 365.8 MB, free: 4.922 MB / 302.1 MB Notification: Performance of SimCode: time 0.001438/0.02341, allocations: 1.547 MB / 367.4 MB, free: 3.344 MB / 302.1 MB Notification: Performance of Templates: time 0.006148/0.02957, allocations: 1.858 MB / 369.2 MB, free: 1.484 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches