Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001181/0.001181, allocations: 109.9 kB / 18.47 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001232, allocations: 204.1 kB / 19.42 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.587e-05, allocations: 2.281 kB / 359.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003654/0.003688, allocations: 2.154 MB / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.00482, allocations: 0.6155 MB / 362.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.577e-05/0.004927, allocations: 0 / 362.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.005072, allocations: 23.78 kB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.005186, allocations: 47.56 kB / 362.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.005537, allocations: 47.88 kB / 362.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.005786, allocations: 199.2 kB / 362.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.005955, allocations: 53.45 kB / 362.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.006132, allocations: 63.73 kB / 362.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.006234, allocations: 59.77 kB / 362.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.006268, allocations: 16 kB / 362.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.594e-05/0.006349, allocations: 27.92 kB / 362.6 MB, free: 9.645 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001815/0.006537, allocations: 225.5 kB / 362.9 MB, free: 9.422 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.309e-05/0.006625, allocations: 141.9 kB / 363 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.006661, allocations: 23.94 kB / 363 MB, free: 9.258 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.944e-05/0.006695, allocations: 7.938 kB / 363 MB, free: 9.25 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.0007278/0.007428, allocations: 0.7285 MB / 363.8 MB, free: 8.418 MB / 302.1 MB Notification: Performance of FunctionAlias: time 3.791e-05/0.007472, allocations: 23.98 kB / 363.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0003315/0.007809, allocations: 376.1 kB / 364.1 MB, free: 8 MB / 302.1 MB Notification: Performance of simplify1: time 2.873e-05/0.007846, allocations: 31.97 kB / 364.2 MB, free: 7.969 MB / 302.1 MB Notification: Performance of Alias: time 0.0009402/0.008791, allocations: 0.7452 MB / 364.9 MB, free: 7.129 MB / 302.1 MB Notification: Performance of simplify2: time 1.845e-05/0.008821, allocations: 19.97 kB / 364.9 MB, free: 7.109 MB / 302.1 MB Notification: Performance of Events: time 7.984e-05/0.008908, allocations: 35.92 kB / 365 MB, free: 7.074 MB / 302.1 MB Notification: Performance of Detect States: time 9.441e-05/0.009009, allocations: 68.16 kB / 365 MB, free: 6.992 MB / 302.1 MB Notification: Performance of Partitioning: time 7.937e-05/0.009095, allocations: 64.09 kB / 365.1 MB, free: 6.922 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002883/0.00939, allocations: 239.8 kB / 365.3 MB, free: 6.68 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001647/0.009562, allocations: 184.3 kB / 365.5 MB, free: 6.473 MB / 302.1 MB Notification: Performance of Inline: time 0.0003722/0.009941, allocations: 395.9 kB / 365.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of Partitioning: time 2.418e-05/0.009974, allocations: 24.12 kB / 365.9 MB, free: 6.02 MB / 302.1 MB Notification: Performance of Cleanup: time 1.587e-05/0.009995, allocations: 11.92 kB / 365.9 MB, free: 6.008 MB / 302.1 MB Notification: Performance of Causalize: time 0.0004935/0.0105, allocations: 472.1 kB / 366.4 MB, free: 5.539 MB / 302.1 MB Notification: Performance of Tearing: time 0.0003045/0.01081, allocations: 322 kB / 366.7 MB, free: 5.176 MB / 302.1 MB Notification: Performance of Initialization: time 3.61e-07/0.01082, allocations: 0 / 366.7 MB, free: 5.176 MB / 302.1 MB Notification: Performance of Tearing: time 0.0002273/0.01105, allocations: 314.3 kB / 367 MB, free: 4.82 MB / 302.1 MB Notification: Performance of Categorize: time 7.434e-06/0.01107, allocations: 4 kB / 367 MB, free: 4.816 MB / 302.1 MB Notification: Performance of Solve: time 7.631e-05/0.01115, allocations: 39.97 kB / 367.1 MB, free: 4.777 MB / 302.1 MB Notification: Performance of Jacobian: time 3.767e-06/0.01116, allocations: 0 / 367.1 MB, free: 4.777 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: ........... 6 (scalar:6, 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: ........... 14 (scalar:14, 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 3.805e-05/0.0112, allocations: 24.72 kB / 367.1 MB, free: 4.762 MB / 302.1 MB Notification: Performance of SimCode: time 0.0008704/0.01209, allocations: 1.119 MB / 368.2 MB, free: 3.625 MB / 302.1 MB Notification: Performance of Templates: time 0.004024/0.01612, allocations: 1.231 MB / 369.4 MB, free: 2.395 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.Resistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches