Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001063, allocations: 117.1 kB / 17.76 MB, free: 5.316 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.001048/0.001048, allocations: 192.5 kB / 18.69 MB, free: 4.395 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.114/1.114, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.687e-05, allocations: 2.281 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.00345/0.003475, allocations: 3.36 MB / 355.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.004654, allocations: 0.8064 MB / 356.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.004848, allocations: 8 kB / 356.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.005022, allocations: 71.34 kB / 356.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.005253, allocations: 122.9 kB / 356.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.005534, allocations: 143.8 kB / 356.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004873/0.00603, allocations: 0.5565 MB / 357 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.006231, allocations: 109.3 kB / 357.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.006442, allocations: 187.3 kB / 357.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.006629, allocations: 199.1 kB / 357.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.235e-05/0.006687, allocations: 48 kB / 357.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.68e-05/0.006749, allocations: 48 kB / 357.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003887/0.007143, allocations: 0.6569 MB / 358.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001949/0.007344, allocations: 402.1 kB / 358.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.288e-05/0.007423, allocations: 79.81 kB / 358.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.78e-05/0.007476, allocations: 8 kB / 358.7 MB, free: 12.4 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: 87 (87) * Number of variables: 87 (87) Notification: Performance of Bindings: time 0.001166/0.008647, allocations: 1.524 MB / 360.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001159/0.008768, allocations: 106.9 kB / 360.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0005747/0.009349, allocations: 0.6827 MB / 361 MB, free: 9.941 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001533/0.009508, allocations: 163.6 kB / 361.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of Alias: time 0.00159/0.0111, allocations: 1.425 MB / 362.6 MB, free: 8.121 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001022/0.01122, allocations: 103.7 kB / 362.7 MB, free: 7.992 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001188/0.01134, allocations: 134.4 kB / 362.9 MB, free: 7.848 MB / 302.1 MB Notification: Performance of Events: time 0.0001558/0.0115, allocations: 127.7 kB / 363 MB, free: 7.723 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000194/0.01171, allocations: 203.9 kB / 363.2 MB, free: 7.484 MB / 302.1 MB Notification: Performance of Causalize: time 0.0007751/0.01249, allocations: 0.7221 MB / 363.9 MB, free: 6.719 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003717/0.01287, allocations: 463.4 kB / 364.4 MB, free: 6.242 MB / 302.1 MB Notification: Performance of Inline: time 0.0007498/0.01362, allocations: 0.8449 MB / 365.2 MB, free: 5.363 MB / 302.1 MB Notification: Performance of Partitioning: time 4.533e-05/0.01368, allocations: 35.56 kB / 365.2 MB, free: 5.32 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001122/0.01379, allocations: 163.8 kB / 365.4 MB, free: 5.16 MB / 302.1 MB Notification: Performance of Causalize: time 0.001406/0.0152, allocations: 1.229 MB / 366.6 MB, free: 3.91 MB / 302.1 MB Notification: Performance of Tearing: time 0.0006345/0.01585, allocations: 0.7194 MB / 367.4 MB, free: 3.094 MB / 302.1 MB Notification: Performance of Initialization: time 8.12e-07/0.01586, allocations: 0 / 367.4 MB, free: 3.094 MB / 302.1 MB Notification: Performance of Tearing: time 0.0005724/0.01644, allocations: 0.7227 MB / 368.1 MB, free: 2.273 MB / 302.1 MB Notification: Performance of Categorize: time 1.38e-05/0.01646, allocations: 7.938 kB / 368.1 MB, free: 2.266 MB / 302.1 MB Notification: Performance of Solve: time 0.0001903/0.01666, allocations: 130.1 kB / 368.2 MB, free: 2.137 MB / 302.1 MB Notification: Performance of Jacobian: time 4.027e-06/0.01667, allocations: 4.297 kB / 368.2 MB, free: 2.133 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: ......... 5 * 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 7 (7) {$SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 28 (scalar:28, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 55 (scalar:55, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 3.339e-05/0.01671, allocations: 27.81 kB / 368.2 MB, free: 2.109 MB / 302.1 MB Notification: Performance of SimCode: time 0.001332/0.01804, allocations: 2.055 MB / 370.3 MB, free: 24 kB / 302.1 MB Notification: Performance of Templates: time 0.1299/0.1479, allocations: 3.652 MB / 373.9 MB, free: 18.07 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches