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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 104.8 kB / 19.77 MB, free: 2.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 188.5 kB / 22.94 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.222/1.222, allocations: 225.6 MB / 251.6 MB, free: 13.49 MB / 206.1 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.079e-05/1.079e-05, allocations: 4.109 kB / 369.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.002736/0.002747, allocations: 2.15 MB / 371.6 MB, free: 8.039 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007654/0.003512, allocations: 0.5531 MB / 372.1 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.003572, allocations: 3.938 kB / 372.1 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.254e-05/0.003654, allocations: 27.72 kB / 372.2 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.194e-05/0.003726, allocations: 39.58 kB / 372.2 MB, free: 7.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.003867, allocations: 47.89 kB / 372.2 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.004043, allocations: 179.3 kB / 372.4 MB, free: 7.188 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.316e-05/0.004136, allocations: 37.45 kB / 372.5 MB, free: 7.145 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.446e-05/0.004231, allocations: 67.72 kB / 372.5 MB, free: 7.078 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.691e-05/0.004317, allocations: 67.69 kB / 372.6 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.00434, allocations: 19.94 kB / 372.6 MB, free: 6.992 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.609e-05/0.004386, allocations: 12 kB / 372.6 MB, free: 6.98 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001838/0.00457, allocations: 241.5 kB / 372.9 MB, free: 6.742 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.445e-05/0.004654, allocations: 146 kB / 373 MB, free: 6.598 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.004695, allocations: 23.94 kB / 373 MB, free: 6.574 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.222e-05/0.004717, allocations: 4 kB / 373 MB, free: 6.57 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.0005918/0.005309, allocations: 0.6121 MB / 373.6 MB, free: 5.84 MB / 302.1 MB Notification: Performance of FunctionAlias: time 8.175e-05/0.005391, allocations: 58.75 kB / 373.7 MB, free: 5.785 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002637/0.005655, allocations: 280.3 kB / 374 MB, free: 5.484 MB / 302.1 MB Notification: Performance of Simplify 1: time 8.689e-05/0.005742, allocations: 80.36 kB / 374 MB, free: 5.379 MB / 302.1 MB Notification: Performance of Alias: time 0.0008533/0.006595, allocations: 0.6382 MB / 374.7 MB, free: 4.637 MB / 302.1 MB Notification: Performance of Simplify 2: time 5.736e-05/0.006652, allocations: 56.34 kB / 374.7 MB, free: 4.555 MB / 302.1 MB Notification: Performance of Remove Stream: time 4.808e-05/0.0067, allocations: 52.41 kB / 374.8 MB, free: 4.477 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001913/0.006892, allocations: 98.66 kB / 374.9 MB, free: 4.344 MB / 302.1 MB Notification: Performance of Events: time 5.852e-05/0.00695, allocations: 28.67 kB / 374.9 MB, free: 4.316 MB / 302.1 MB Notification: Performance of Partitioning: time 8.632e-05/0.007037, allocations: 80.06 kB / 375 MB, free: 4.23 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002697/0.007306, allocations: 232.1 kB / 375.2 MB, free: 3.996 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 9.268e-05/0.007399, allocations: 99.91 kB / 375.3 MB, free: 3.898 MB / 302.1 MB Notification: Performance of Simplify: time 0.0002112/0.00761, allocations: 187.2 kB / 375.5 MB, free: 3.664 MB / 302.1 MB Notification: Performance of Inline: time 0.0001895/0.0078, allocations: 212.9 kB / 375.7 MB, free: 3.453 MB / 302.1 MB Notification: Performance of Partitioning: time 2.022e-05/0.00782, allocations: 24 kB / 375.7 MB, free: 3.422 MB / 302.1 MB Notification: Performance of Cleanup: time 3.85e-05/0.007858, allocations: 47.94 kB / 375.8 MB, free: 3.375 MB / 302.1 MB Notification: Performance of Causalize: time 0.0004594/0.008318, allocations: 382.2 kB / 376.2 MB, free: 2.992 MB / 302.1 MB Notification: Performance of Tearing: time 0.0003397/0.008657, allocations: 350 kB / 376.5 MB, free: 2.602 MB / 302.1 MB Notification: Performance of Initialization: time 3.7e-07/0.008658, allocations: 0 / 376.5 MB, free: 2.602 MB / 302.1 MB Notification: Performance of Remove Dummies: time 2.555e-06/0.00866, allocations: 0 / 376.5 MB, free: 2.602 MB / 302.1 MB Notification: Performance of Tearing: time 0.0002639/0.008924, allocations: 330.1 kB / 376.8 MB, free: 2.23 MB / 302.1 MB Notification: Performance of Categorize: time 4.499e-06/0.008929, allocations: 4 kB / 376.8 MB, free: 2.227 MB / 302.1 MB Notification: Performance of Solve: time 6.991e-05/0.008999, allocations: 40.02 kB / 376.9 MB, free: 2.188 MB / 302.1 MB Notification: Performance of Jacobian: time 3.927e-06/0.009003, allocations: 7.938 kB / 376.9 MB, free: 2.18 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) {} * Number of discrete variables: ................. 2 (2) {$SEV_0, $TEV_0} * Number of clocks: ............................. 0 (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 (resizable: 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 3.34e-05/0.009036, allocations: 31.23 kB / 376.9 MB, free: 2.152 MB / 302.1 MB Notification: Performance of SimCode: time 0.0007398/0.009776, allocations: 1.099 MB / 378 MB, free: 1.031 MB / 302.1 MB Notification: Performance of Templates: time 0.1149/0.1247, allocations: 1.256 MB / 379.3 MB, free: 16.58 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.674941255711019]