Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.001721/0.001721, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.002218/0.002218, allocations: 216.8 kB / 24.5 MB, free: 3.926 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.549/1.549, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.InvertingSchmittTrigger,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.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,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.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.558e-05, allocations: 3.828 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.1954/0.1954, allocations: 2.606 MB / 381.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.197, allocations: 0.6752 MB / 382.2 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.1971, allocations: 5.781 kB / 382.3 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.1973, allocations: 44.33 kB / 382.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.1975, allocations: 94.16 kB / 382.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.1978, allocations: 98.58 kB / 382.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004566/0.1982, allocations: 431.6 kB / 382.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.1984, allocations: 59.2 kB / 383 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.1986, allocations: 157.9 kB / 383.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.1988, allocations: 154 kB / 383.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.663e-05/0.1989, allocations: 32.16 kB / 383.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.196e-05/0.1989, allocations: 29.19 kB / 383.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003953/0.1993, allocations: 0.5755 MB / 383.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000166/0.1995, allocations: 347.2 kB / 384.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.819e-05/0.1995, allocations: 24.56 kB / 384.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.11e-05/0.1996, allocations: 9.75 kB / 384.3 MB, free: 12.35 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: 49 (49) * Number of variables: 49 (49) Notification: Performance of [SIM] Bindings: time 0.001269/0.2009, allocations: 1.386 MB / 385.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001395/0.201, allocations: 151.8 kB / 385.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006164/0.2016, allocations: 0.6729 MB / 386.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002674/0.2019, allocations: 204 kB / 386.7 MB, free: 11 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001437/0.2033, allocations: 1.087 MB / 387.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001673/0.2035, allocations: 171.4 kB / 387.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 8.729e-05/0.2036, allocations: 103.9 kB / 388 MB, free: 10.08 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002383/0.2038, allocations: 205.5 kB / 388.2 MB, free: 9.895 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001497/0.204, allocations: 93.7 kB / 388.3 MB, free: 9.859 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002751/0.2042, allocations: 246.7 kB / 388.6 MB, free: 9.73 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0005904/0.2048, allocations: 454.3 kB / 389 MB, free: 9.586 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004224/0.2052, allocations: 494.5 kB / 389.5 MB, free: 9.34 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0007791/0.206, allocations: 0.5722 MB / 390.1 MB, free: 9.012 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0006516/0.2067, allocations: 0.7472 MB / 390.8 MB, free: 8.613 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.037e-05/0.2067, allocations: 24.02 kB / 390.8 MB, free: 8.594 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001044/0.2068, allocations: 130.7 kB / 391 MB, free: 8.52 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001373/0.2082, allocations: 0.9873 MB / 392 MB, free: 8.301 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 8.731e-05/0.2083, allocations: 66.64 kB / 392 MB, free: 8.273 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 5.31e-07/0.2083, allocations: 0 / 392 MB, free: 8.273 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.914e-06/0.2083, allocations: 1.562 kB / 392 MB, free: 8.273 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 5.705e-05/0.2084, allocations: 57.52 kB / 392.1 MB, free: 8.254 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.345e-05/0.2084, allocations: 5.312 kB / 392.1 MB, free: 8.25 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.00047/0.2088, allocations: 363.9 kB / 392.4 MB, free: 8.125 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0003158/0.2092, allocations: 333.1 kB / 392.8 MB, free: 7.852 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: ............... 0 * Number of algebraic event partitions: ......... 3 * 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: ................. 7 (7) {$SEV_6, $SEV_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: ........... 20 (scalar:20, 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: ........... 52 (scalar:52, 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 4.663e-05/0.2092, allocations: 34.89 kB / 392.8 MB, free: 7.832 MB / 302.1 MB Notification: Performance of SimCode: time 0.001127/0.2103, allocations: 0.8861 MB / 393.7 MB, free: 7.418 MB / 302.1 MB Notification: Performance of Templates: time 0.02906/0.2394, allocations: 3.305 MB / 397 MB, free: 6.457 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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: 5.202453564852476]