Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, 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.001256/0.001256, 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.204/1.204, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/1.993e-05, allocations: 2.281 kB / 351.9 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.003291/0.003319, allocations: 2.99 MB / 354.9 MB, free: 276 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000986/0.004317, allocations: 0.6855 MB / 355.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.004466, allocations: 4 kB / 355.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.004621, allocations: 59.44 kB / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.004858, allocations: 103 kB / 355.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.005111, allocations: 83.88 kB / 355.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004169/0.005536, allocations: 462.1 kB / 356.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.005727, allocations: 115.1 kB / 356.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.005918, allocations: 151.4 kB / 356.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.006084, allocations: 159.3 kB / 356.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.244e-05/0.006144, allocations: 32 kB / 356.8 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.286e-05/0.006207, allocations: 36 kB / 356.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003707/0.006584, allocations: 0.5449 MB / 357.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001687/0.006759, allocations: 331.1 kB / 357.7 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.006828, allocations: 59.81 kB / 357.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.828e-05/0.006881, allocations: 16 kB / 357.7 MB, free: 13.43 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.001248/0.008133, allocations: 1.585 MB / 359.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001124/0.008252, allocations: 79.86 kB / 359.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0005891/0.008847, allocations: 0.7141 MB / 360.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of simplify1: time 8.275e-05/0.008938, allocations: 83.91 kB / 360.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of Alias: time 0.001622/0.01057, allocations: 1.518 MB / 361.7 MB, free: 9.145 MB / 302.1 MB Notification: Performance of simplify2: time 6.224e-05/0.01064, allocations: 51.94 kB / 361.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of Events: time 0.0001881/0.01083, allocations: 155.1 kB / 361.9 MB, free: 8.941 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001784/0.01102, allocations: 189.1 kB / 362.1 MB, free: 8.742 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002694/0.0113, allocations: 280 kB / 362.4 MB, free: 8.414 MB / 302.1 MB Notification: Performance of Causalize: time 0.0009306/0.01223, allocations: 0.8806 MB / 363.2 MB, free: 7.484 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004897/0.01273, allocations: 0.5685 MB / 363.8 MB, free: 6.887 MB / 302.1 MB Notification: Performance of Inline: time 0.0008685/0.01361, allocations: 0.9577 MB / 364.8 MB, free: 5.891 MB / 302.1 MB Notification: Performance of Partitioning: time 5.828e-05/0.01368, allocations: 58.34 kB / 364.8 MB, free: 5.824 MB / 302.1 MB Notification: Performance of Cleanup: time 4.688e-05/0.01373, allocations: 47.89 kB / 364.9 MB, free: 5.777 MB / 302.1 MB Notification: Performance of Causalize: time 0.001414/0.01515, allocations: 1.254 MB / 366.1 MB, free: 4.512 MB / 302.1 MB Notification: Performance of Tearing: time 0.0005138/0.01567, allocations: 0.6408 MB / 366.8 MB, free: 3.773 MB / 302.1 MB Notification: Performance of Initialization: time 6.21e-07/0.01568, allocations: 0 / 366.8 MB, free: 3.773 MB / 302.1 MB Notification: Performance of Tearing: time 0.0004304/0.01612, allocations: 0.6525 MB / 367.4 MB, free: 3.023 MB / 302.1 MB Notification: Performance of Categorize: time 1.239e-05/0.01614, allocations: 4 kB / 367.4 MB, free: 3.02 MB / 302.1 MB Notification: Performance of Solve: time 0.0002017/0.01634, allocations: 138.4 kB / 367.6 MB, free: 2.887 MB / 302.1 MB Notification: Performance of Jacobian: time 3.647e-06/0.01635, allocations: 3.984 kB / 367.6 MB, free: 2.883 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: ........... 27 (scalar:27, 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: ........... 44 (scalar:44, 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.214e-05/0.0164, allocations: 28.25 kB / 367.6 MB, free: 2.859 MB / 302.1 MB Notification: Performance of SimCode: time 0.001162/0.01757, allocations: 1.694 MB / 369.3 MB, free: 1.141 MB / 302.1 MB Notification: Performance of Templates: time 0.1497/0.1673, allocations: 3.375 MB / 372.7 MB, free: 19.39 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches