Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 95.95 kB / 21.23 MB, free: 0.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 193.6 kB / 24.52 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.7 MB / 253.3 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.733e-05, allocations: 6.219 kB / 371.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.00391/0.003928, allocations: 2.59 MB / 374.3 MB, free: 6.555 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.005019, allocations: 0.6271 MB / 374.9 MB, free: 5.922 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.005134, allocations: 4 kB / 374.9 MB, free: 5.918 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.005289, allocations: 47.5 kB / 375 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.00547, allocations: 91.2 kB / 375.1 MB, free: 5.781 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.005716, allocations: 95.83 kB / 375.1 MB, free: 5.688 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004639/0.00618, allocations: 418.3 kB / 375.6 MB, free: 5.277 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.006376, allocations: 83.27 kB / 375.6 MB, free: 5.195 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.00657, allocations: 147.5 kB / 375.8 MB, free: 5.051 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.006766, allocations: 139.4 kB / 375.9 MB, free: 4.914 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.756e-05/0.006823, allocations: 36 kB / 376 MB, free: 4.879 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.632e-05/0.00688, allocations: 35.94 kB / 376 MB, free: 4.844 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.00057/0.00745, allocations: 0.6152 MB / 376.6 MB, free: 4.223 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000251/0.007701, allocations: 367.2 kB / 377 MB, free: 3.859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.312e-05/0.007754, allocations: 28 kB / 377 MB, free: 3.832 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.484e-05/0.007789, allocations: 8 kB / 377 MB, free: 3.824 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: 60 (60) * Number of variables: 60 (60) Notification: Performance of [SIM] Bindings: time 0.001603/0.009392, allocations: 1.495 MB / 378.5 MB, free: 2.195 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001672/0.009559, allocations: 165.1 kB / 378.7 MB, free: 2.023 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0008272/0.01039, allocations: 0.7693 MB / 379.4 MB, free: 1.227 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003287/0.01072, allocations: 221.7 kB / 379.6 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.1463/0.157, allocations: 1.316 MB / 381 MB, free: 16.36 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000208/0.1572, allocations: 165.8 kB / 381.1 MB, free: 16.26 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 8.541e-05/0.1573, allocations: 98.84 kB / 381.2 MB, free: 16.2 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002357/0.1575, allocations: 215 kB / 381.4 MB, free: 16.09 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001928/0.1577, allocations: 112.1 kB / 381.5 MB, free: 16.09 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003127/0.158, allocations: 278 kB / 381.8 MB, free: 16.02 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.000684/0.1587, allocations: 0.493 MB / 382.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004166/0.1591, allocations: 0.5092 MB / 382.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0007638/0.1599, allocations: 0.5632 MB / 383.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0006704/0.1606, allocations: 0.755 MB / 384.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.504e-05/0.1606, allocations: 24.03 kB / 384.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001226/0.1607, allocations: 140.1 kB / 384.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001326/0.1621, allocations: 1.013 MB / 385.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0002247/0.1623, allocations: 168.2 kB / 385.5 MB, free: 15.6 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 6.61e-07/0.1623, allocations: 0 / 385.5 MB, free: 15.6 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.633e-06/0.1623, allocations: 5.391 kB / 385.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0001377/0.1624, allocations: 111.1 kB / 385.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.259e-05/0.1625, allocations: 18.53 kB / 385.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0004384/0.1629, allocations: 329.4 kB / 385.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002797/0.1632, allocations: 329.2 kB / 386.2 MB, free: 15.2 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: ......... 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: ................. 9 (9) {$SEV_8, $SEV_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: ........... 51 (scalar:51, 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 8.908e-05/0.1633, allocations: 30.62 kB / 386.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of SimCode: time 0.0009545/0.1642, allocations: 0.8521 MB / 387.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of Templates: time 0.007464/0.1717, allocations: 2.962 MB / 390.1 MB, free: 14.48 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.2981751137413085]