Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.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.OpAmps.Comparator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Comparator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001493/0.001493, allocations: 110.8 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001338, allocations: 211.9 kB / 19.42 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.208e-05/3.209e-05, allocations: 2.281 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.003704/0.003745, allocations: 2.906 MB / 362.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.005065, allocations: 0.7439 MB / 363 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.00522, allocations: 4 kB / 363 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.005406, allocations: 51.44 kB / 363.1 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.005618, allocations: 99.19 kB / 363.2 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.005941, allocations: 107.9 kB / 363.3 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004614/0.006412, allocations: 442.4 kB / 363.7 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002407/0.006662, allocations: 135.9 kB / 363.8 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.006835, allocations: 155.4 kB / 364 MB, free: 8.316 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.007029, allocations: 167.3 kB / 364.1 MB, free: 8.152 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.573e-05/0.007091, allocations: 36 kB / 364.2 MB, free: 8.117 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.066e-05/0.007148, allocations: 36 kB / 364.2 MB, free: 8.082 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003729/0.007526, allocations: 0.5372 MB / 364.8 MB, free: 7.539 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001739/0.007709, allocations: 335.2 kB / 365.1 MB, free: 7.207 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.217e-05/0.007778, allocations: 51.81 kB / 365.1 MB, free: 7.156 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.238e-05/0.007836, allocations: 8 kB / 365.1 MB, free: 7.148 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: 61 (61) * Number of variables: 61 (61) Notification: Performance of Bindings: time 0.001383/0.009225, allocations: 1.562 MB / 366.7 MB, free: 5.473 MB / 302.1 MB Notification: Performance of FunctionAlias: time 6.418e-05/0.009295, allocations: 67.89 kB / 366.8 MB, free: 5.406 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0006976/0.009999, allocations: 0.8 MB / 367.6 MB, free: 4.578 MB / 302.1 MB Notification: Performance of simplify1: time 7.332e-05/0.01008, allocations: 67.92 kB / 367.6 MB, free: 4.512 MB / 302.1 MB Notification: Performance of Alias: time 0.001886/0.01197, allocations: 1.667 MB / 369.3 MB, free: 2.656 MB / 302.1 MB Notification: Performance of simplify2: time 4.605e-05/0.01203, allocations: 43.94 kB / 369.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of Events: time 0.0001726/0.01221, allocations: 95.84 kB / 369.4 MB, free: 2.52 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002261/0.01245, allocations: 199.9 kB / 369.6 MB, free: 2.309 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001986/0.01265, allocations: 177.8 kB / 369.8 MB, free: 2.121 MB / 302.1 MB Notification: Performance of Causalize: time 0.0007417/0.0134, allocations: 0.6502 MB / 370.5 MB, free: 1.461 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004597/0.01387, allocations: 0.5197 MB / 371 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of Inline: time 0.213/0.2269, allocations: 1.109 MB / 372.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001435/0.2271, allocations: 71.17 kB / 372.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of Cleanup: time 8.886e-05/0.2272, allocations: 36.39 kB / 372.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of Causalize: time 0.002181/0.2294, allocations: 1.755 MB / 373.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of Tearing: time 0.0002567/0.2296, allocations: 269.6 kB / 374.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of Initialization: time 8.52e-07/0.2296, allocations: 0 / 374.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of Tearing: time 0.0001501/0.2298, allocations: 276.4 kB / 374.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of Categorize: time 1.513e-05/0.2298, allocations: 2.047 kB / 374.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of Solve: time 0.0003226/0.2301, allocations: 166.9 kB / 374.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of Jacobian: time 4.498e-06/0.2302, allocations: 3.281 kB / 374.7 MB, free: 14.69 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: ......... 1 * 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: .................... 2 (2) {vIn.signalSource.count, vIn.signalSource.T_start} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 7 (7) {$SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 23 (scalar:23, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 61 (scalar:61, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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: Performance of backend: time 4.382e-05/0.2302, allocations: 26.22 kB / 374.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of SimCode: time 0.001297/0.2315, allocations: 1.532 MB / 376.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of Templates: time 0.007225/0.2387, allocations: 2.623 MB / 378.8 MB, free: 13.57 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Comparator/Comparator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches