Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor") translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 119.7 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001038/0.001038, allocations: 205 kB / 19.42 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.185e-05, allocations: 2.281 kB / 359.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004057/0.004087, allocations: 3.026 MB / 362.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.005369, allocations: 0.7557 MB / 363.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.005523, allocations: 4 kB / 363.1 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.005695, allocations: 55.44 kB / 363.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.005872, allocations: 103 kB / 363.3 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.006227, allocations: 111.8 kB / 363.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000457/0.006694, allocations: 462.1 kB / 363.8 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.006929, allocations: 103.1 kB / 363.9 MB, free: 8.309 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.007173, allocations: 155.5 kB / 364.1 MB, free: 8.156 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.00736, allocations: 163.3 kB / 364.2 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.647e-05/0.007412, allocations: 32 kB / 364.3 MB, free: 7.965 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.618e-05/0.007505, allocations: 36 kB / 364.3 MB, free: 7.93 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003743/0.007885, allocations: 0.5486 MB / 364.9 MB, free: 7.375 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002084/0.0081, allocations: 331.1 kB / 365.2 MB, free: 7.047 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.681e-05/0.008163, allocations: 63.81 kB / 365.2 MB, free: 6.984 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.054e-05/0.00821, allocations: 8 kB / 365.3 MB, free: 6.977 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: 67 (67) * Number of variables: 67 (67) Notification: Performance of Bindings: time 0.001319/0.009535, allocations: 1.601 MB / 366.9 MB, free: 5.262 MB / 302.1 MB Notification: Performance of FunctionAlias: time 5.845e-05/0.0096, allocations: 59.92 kB / 366.9 MB, free: 5.203 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0007093/0.01031, allocations: 0.835 MB / 367.8 MB, free: 4.34 MB / 302.1 MB Notification: Performance of simplify1: time 7.039e-05/0.01039, allocations: 79.91 kB / 367.8 MB, free: 4.262 MB / 302.1 MB Notification: Performance of Alias: time 0.001661/0.01206, allocations: 1.506 MB / 369.3 MB, free: 2.582 MB / 302.1 MB Notification: Performance of simplify2: time 5.008e-05/0.01214, allocations: 59.92 kB / 369.4 MB, free: 2.523 MB / 302.1 MB Notification: Performance of Events: time 0.0002062/0.01235, allocations: 155 kB / 369.5 MB, free: 2.371 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001727/0.01254, allocations: 187.9 kB / 369.7 MB, free: 2.176 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002584/0.0128, allocations: 277.8 kB / 370 MB, free: 1.848 MB / 302.1 MB Notification: Performance of Causalize: time 0.0009434/0.01375, allocations: 0.8572 MB / 370.9 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004959/0.01426, allocations: 0.5732 MB / 371.4 MB, free: 348 kB / 302.1 MB Notification: Performance of Inline: time 0.2083/0.2226, allocations: 1.045 MB / 372.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of Partitioning: time 8.264e-05/0.2227, allocations: 52.39 kB / 372.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of Cleanup: time 5.727e-05/0.2228, allocations: 51.11 kB / 372.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of Causalize: time 0.001613/0.2244, allocations: 1.233 MB / 373.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of Tearing: time 0.0005182/0.2249, allocations: 0.6542 MB / 374.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of Initialization: time 9.42e-07/0.2249, allocations: 0 / 374.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of Tearing: time 0.0004684/0.2254, allocations: 0.6563 MB / 375.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of Categorize: time 2.086e-05/0.2254, allocations: 2.406 kB / 375.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of Solve: time 0.0002555/0.2257, allocations: 136.3 kB / 375.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of Jacobian: time 3.376e-06/0.2257, allocations: 0 / 375.3 MB, free: 14.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: ......... 7 * 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: ................. 9 (9) {$SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 26 (scalar:26, 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: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 43 (scalar:43, 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: 0, nonlinear:2) Notification: Performance of backend: time 4.094e-05/0.2257, allocations: 30.3 kB / 375.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of SimCode: time 0.001436/0.2272, allocations: 1.698 MB / 377 MB, free: 13.22 MB / 302.1 MB Notification: Performance of Templates: time 0.007749/0.2349, allocations: 3.419 MB / 380.4 MB, free: 12.98 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches