Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 107.6 kB / 21.2 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 211 kB / 24.49 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.52/1.52, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Comparator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Comparator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.591e-05, allocations: 2.281 kB / 378.9 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.214/0.214, allocations: 2.726 MB / 381.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.2156, allocations: 0.7008 MB / 382.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.2158, allocations: 11.5 kB / 382.4 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.216, allocations: 51.17 kB / 382.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.2163, allocations: 102.5 kB / 382.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.2166, allocations: 106.7 kB / 382.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005965/0.2172, allocations: 476.2 kB / 383.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002692/0.2175, allocations: 94.67 kB / 383.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.2177, allocations: 174.9 kB / 383.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.2179, allocations: 171.8 kB / 383.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.983e-05/0.218, allocations: 36.06 kB / 383.6 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.002e-05/0.218, allocations: 41.75 kB / 383.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005025/0.2185, allocations: 0.6563 MB / 384.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001985/0.2187, allocations: 392.8 kB / 384.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.03e-05/0.2188, allocations: 26.41 kB / 384.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.342e-05/0.2189, allocations: 11.97 kB / 384.7 MB, free: 12.24 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 [SIM] Bindings: time 0.00149/0.2203, allocations: 1.555 MB / 386.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002479/0.2206, allocations: 179.6 kB / 386.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001058/0.2217, allocations: 0.8064 MB / 387.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000451/0.2221, allocations: 232.8 kB / 387.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002119/0.2242, allocations: 1.428 MB / 388.9 MB, free: 9.703 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002125/0.2244, allocations: 180.5 kB / 389.1 MB, free: 9.57 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001099/0.2245, allocations: 92.55 kB / 389.2 MB, free: 9.488 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003522/0.2249, allocations: 204.2 kB / 389.4 MB, free: 9.309 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001291/0.225, allocations: 67.64 kB / 389.4 MB, free: 9.285 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003277/0.2254, allocations: 241.7 kB / 389.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0006588/0.226, allocations: 418.1 kB / 390.1 MB, free: 9.055 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005115/0.2265, allocations: 472.1 kB / 390.5 MB, free: 8.812 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0009941/0.2275, allocations: 0.6376 MB / 391.2 MB, free: 8.445 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0007745/0.2283, allocations: 0.7534 MB / 391.9 MB, free: 8.031 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.218e-05/0.2283, allocations: 24.23 kB / 391.9 MB, free: 8.016 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001231/0.2285, allocations: 136.5 kB / 392.1 MB, free: 7.934 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001656/0.2301, allocations: 1.081 MB / 393.2 MB, free: 7.676 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 8.725e-05/0.2302, allocations: 60.62 kB / 393.2 MB, free: 7.637 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 8.51e-07/0.2302, allocations: 0 / 393.2 MB, free: 7.637 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.233e-05/0.2302, allocations: 1.406 kB / 393.2 MB, free: 7.637 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.126e-05/0.2303, allocations: 28.22 kB / 393.2 MB, free: 7.625 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.172e-05/0.2303, allocations: 2.156 kB / 393.2 MB, free: 7.625 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0006604/0.2309, allocations: 442.4 kB / 393.7 MB, free: 7.461 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.000243/0.2312, allocations: 242.2 kB / 393.9 MB, free: 7.219 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.T_start, vIn.signalSource.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {$SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 21 (scalar:21, 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 59 (scalar:59, 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 6.082e-05/0.2312, allocations: 47.16 kB / 394 MB, free: 7.184 MB / 302.1 MB Notification: Performance of SimCode: time 0.001621/0.2329, allocations: 0.9168 MB / 394.9 MB, free: 6.738 MB / 302.1 MB Notification: Performance of Templates: time 0.02361/0.2565, allocations: 2.874 MB / 397.7 MB, free: 5.875 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Comparator/Comparator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.673533509019762]