Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.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.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor") translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 109.1 kB / 17.75 MB, free: 5.352 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.0009916/0.0009917, allocations: 188.6 kB / 18.68 MB, free: 4.43 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.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.241e-05, allocations: 2.281 kB / 351.9 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.00332/0.003352, allocations: 2.115 MB / 354 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008751/0.00424, allocations: 0.5531 MB / 354.6 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.266e-05/0.004344, allocations: 4 kB / 354.6 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.004473, allocations: 19.8 kB / 354.6 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.385e-05/0.004573, allocations: 51.61 kB / 354.7 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.004793, allocations: 35.89 kB / 354.7 MB, free: 492 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.005, allocations: 175.2 kB / 354.9 MB, free: 316 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.005195, allocations: 65.42 kB / 354.9 MB, free: 244 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.005315, allocations: 67.72 kB / 355 MB, free: 176 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.203e-05/0.005416, allocations: 63.7 kB / 355.1 MB, free: 112 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.005445, allocations: 12 kB / 355.1 MB, free: 100 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.263e-05/0.005524, allocations: 20 kB / 355.1 MB, free: 80 kB / 286.1 MB Notification: Performance of combineBinaries: time 0.0001975/0.005728, allocations: 221.7 kB / 355.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.738e-05/0.005812, allocations: 138 kB / 355.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/0.005854, allocations: 27.88 kB / 355.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.58e-05/0.005896, allocations: 11.98 kB / 355.5 MB, free: 15.68 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: 28 (28) * Number of variables: 28 (28) Notification: Performance of Bindings: time 0.0007559/0.006657, allocations: 0.7167 MB / 356.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of FunctionAlias: time 8.607e-05/0.00675, allocations: 39.84 kB / 356.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0003448/0.007102, allocations: 364.1 kB / 356.6 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simplify1: time 3.42e-05/0.007147, allocations: 31.95 kB / 356.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of Alias: time 0.001013/0.008166, allocations: 0.7559 MB / 357.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simplify2: time 1.828e-05/0.008198, allocations: 11.98 kB / 357.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of Events: time 9.206e-05/0.008296, allocations: 36.28 kB / 357.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001162/0.008421, allocations: 68.12 kB / 357.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001153/0.008544, allocations: 68.11 kB / 357.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of Causalize: time 0.0003201/0.008871, allocations: 253.5 kB / 357.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001854/0.009066, allocations: 188.3 kB / 358 MB, free: 12.89 MB / 302.1 MB Notification: Performance of Inline: time 0.0004285/0.009502, allocations: 411.8 kB / 358.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of Partitioning: time 3.933e-05/0.009552, allocations: 32.09 kB / 358.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of Cleanup: time 1.754e-05/0.009576, allocations: 15.92 kB / 358.5 MB, free: 12.4 MB / 302.1 MB Notification: Performance of Causalize: time 0.0005759/0.01016, allocations: 466.6 kB / 358.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of Tearing: time 0.0003571/0.01053, allocations: 318 kB / 359.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of Initialization: time 3.91e-07/0.01054, allocations: 4 kB / 359.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of Tearing: time 0.0002342/0.01078, allocations: 322.1 kB / 359.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of Categorize: time 1.074e-05/0.0108, allocations: 0 / 359.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of Solve: time 9.793e-05/0.01091, allocations: 44.27 kB / 359.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of Jacobian: time 7.214e-06/0.01092, allocations: 7.938 kB / 359.6 MB, free: 11.16 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: ......... 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 2 (2) {$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: ........... 7 (scalar:7, 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: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 15 (scalar:15, 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: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 5.653e-05/0.01099, allocations: 24.66 kB / 359.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of SimCode: time 0.001042/0.01203, allocations: 1.099 MB / 360.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of Templates: time 0.003777/0.01583, allocations: 1.264 MB / 362 MB, free: 8.758 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches