Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.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.OpAmps.Comparator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 113.3 kB / 17.75 MB, free: 5.305 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.00124/0.00124, allocations: 184.3 kB / 18.68 MB, free: 4.387 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.311/1.311, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.949e-05/3.95e-05, allocations: 5.375 kB / 352 MB, free: 3.219 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.004817/0.004865, allocations: 2.874 MB / 354.8 MB, free: 336 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.006484, allocations: 0.709 MB / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003442/0.00684, allocations: 7.938 kB / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.007085, allocations: 47.5 kB / 355.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003429/0.007459, allocations: 95.19 kB / 355.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.007884, allocations: 107.8 kB / 355.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006488/0.008542, allocations: 450.4 kB / 356.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.008799, allocations: 135.9 kB / 356.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.008981, allocations: 151.4 kB / 356.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.009179, allocations: 171.2 kB / 356.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.668e-05/0.009242, allocations: 36 kB / 356.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.257e-05/0.009302, allocations: 40 kB / 356.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003912/0.009698, allocations: 0.5295 MB / 357.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001746/0.00988, allocations: 323.2 kB / 357.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.456e-05/0.00995, allocations: 55.81 kB / 357.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.76e-05/0.01002, allocations: 8 kB / 357.7 MB, free: 13.47 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.001402/0.01143, allocations: 1.574 MB / 359.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of FunctionAlias: time 6.72e-05/0.01151, allocations: 59.94 kB / 359.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0007024/0.01221, allocations: 0.7961 MB / 360.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simplify1: time 6.659e-05/0.01229, allocations: 67.92 kB / 360.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of Alias: time 0.001871/0.01417, allocations: 1.67 MB / 361.8 MB, free: 8.977 MB / 302.1 MB Notification: Performance of simplify2: time 4.654e-05/0.01422, allocations: 43.95 kB / 361.9 MB, free: 8.934 MB / 302.1 MB Notification: Performance of Events: time 0.0001734/0.0144, allocations: 103.8 kB / 362 MB, free: 8.832 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003677/0.01478, allocations: 195.9 kB / 362.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001952/0.01498, allocations: 173.3 kB / 362.3 MB, free: 8.441 MB / 302.1 MB Notification: Performance of Causalize: time 0.0007576/0.01575, allocations: 0.6554 MB / 363 MB, free: 7.773 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004349/0.0162, allocations: 0.5042 MB / 363.5 MB, free: 7.242 MB / 302.1 MB Notification: Performance of Inline: time 0.001055/0.01726, allocations: 1.119 MB / 364.6 MB, free: 6.082 MB / 302.1 MB Notification: Performance of Partitioning: time 7.273e-05/0.01734, allocations: 63.61 kB / 364.7 MB, free: 6.012 MB / 302.1 MB Notification: Performance of Cleanup: time 4.007e-05/0.01739, allocations: 43.89 kB / 364.7 MB, free: 5.969 MB / 302.1 MB Notification: Performance of Causalize: time 0.001922/0.01932, allocations: 1.749 MB / 366.5 MB, free: 4.203 MB / 302.1 MB Notification: Performance of Tearing: time 0.0002691/0.01959, allocations: 278.1 kB / 366.7 MB, free: 3.883 MB / 302.1 MB Notification: Performance of Initialization: time 3.5e-07/0.01961, allocations: 7.938 kB / 366.8 MB, free: 3.875 MB / 302.1 MB Notification: Performance of Tearing: time 0.0001769/0.01979, allocations: 274.2 kB / 367 MB, free: 3.559 MB / 302.1 MB Notification: Performance of Categorize: time 9.368e-06/0.0198, allocations: 0 / 367 MB, free: 3.559 MB / 302.1 MB Notification: Performance of Solve: time 0.0002474/0.02006, allocations: 178.3 kB / 367.2 MB, free: 3.383 MB / 302.1 MB Notification: Performance of Jacobian: time 3.226e-06/0.02007, allocations: 0 / 367.2 MB, free: 3.383 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.894e-05/0.02012, allocations: 37.95 kB / 367.2 MB, free: 3.352 MB / 302.1 MB Notification: Performance of SimCode: time 0.00116/0.02129, allocations: 1.527 MB / 368.8 MB, free: 1.797 MB / 302.1 MB Notification: Performance of Templates: time 0.2184/0.2397, allocations: 2.602 MB / 371.4 MB, free: 19.59 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches