Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002184/0.002184, allocations: 99.59 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002864/0.002864, allocations: 216.8 kB / 24.5 MB, free: 3.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.63/1.63, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2589/0.2589, allocations: 46.96 MB / 361.6 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.724e-05/3.724e-05, allocations: 6.219 kB / 0.4973 GB, free: 7.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001785/0.001823, allocations: 0.4932 MB / 0.4977 GB, free: 6.793 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.003556, allocations: 0.7217 MB / 0.4984 GB, free: 6.066 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.741e-05/0.003573, allocations: 0 / 0.4984 GB, free: 6.066 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.295e-05/0.003586, allocations: 0 / 0.4984 GB, free: 6.066 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.765e-06/0.003594, allocations: 0 / 0.4984 GB, free: 6.066 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.00586, allocations: 0.6415 MB / 0.4991 GB, free: 5.426 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.745e-05/0.005917, allocations: 0 / 0.4991 GB, free: 5.426 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.015e-05/0.005967, allocations: 11.98 kB / 0.4991 GB, free: 5.414 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.515e-05/0.005983, allocations: 0 / 0.4991 GB, free: 5.414 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.286e-05/0.006005, allocations: 3.938 kB / 0.4991 GB, free: 5.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.073e-06/0.006012, allocations: 0 / 0.4991 GB, free: 5.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008435/0.006856, allocations: 427.2 kB / 0.4995 GB, free: 4.992 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.597e-05/0.006882, allocations: 0 / 0.4995 GB, free: 4.992 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 4.078e-06/0.006886, allocations: 3.906 kB / 0.4995 GB, free: 4.988 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.562e-05/0.006902, allocations: 8 kB / 0.4995 GB, free: 4.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.474e-06/0.006909, allocations: 0 / 0.4995 GB, free: 4.98 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 (1) * Number of variables: 1 (1) Notification: Performance of [SIM] Bindings: time 0.0003974/0.007306, allocations: 185.5 kB / 0.4997 GB, free: 4.68 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.976e-05/0.007346, allocations: 24.05 kB / 0.4997 GB, free: 4.645 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 9.492e-05/0.007441, allocations: 56.34 kB / 0.4998 GB, free: 4.562 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.317e-05/0.007514, allocations: 60.75 kB / 0.4998 GB, free: 4.457 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0001042/0.007618, allocations: 80.59 kB / 0.4999 GB, free: 4.328 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 7.087e-05/0.007689, allocations: 64.73 kB / 0.5 GB, free: 4.219 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.189e-05/0.007731, allocations: 36.38 kB / 0.5 GB, free: 4.156 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001142/0.007846, allocations: 72.86 kB / 0.5001 GB, free: 4.031 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.919e-05/0.007875, allocations: 15.86 kB / 0.5001 GB, free: 4.016 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 7.867e-05/0.007953, allocations: 20.11 kB / 0.5001 GB, free: 3.988 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001422/0.008096, allocations: 24.11 kB / 0.5001 GB, free: 3.957 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 2.04e-05/0.008116, allocations: 11.98 kB / 0.5001 GB, free: 3.945 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001533/0.008269, allocations: 101 kB / 0.5002 GB, free: 3.777 MB / 366.1 MB Notification: Performance of [INI] Inline: time 3.605e-05/0.008305, allocations: 24 kB / 0.5002 GB, free: 3.75 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.327e-05/0.008318, allocations: 8.125 kB / 0.5003 GB, free: 3.734 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.47e-05/0.008333, allocations: 8 kB / 0.5003 GB, free: 3.727 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 8.51e-05/0.008418, allocations: 32.23 kB / 0.5003 GB, free: 3.688 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.112e-05/0.008429, allocations: 0 / 0.5003 GB, free: 3.688 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 6.81e-07/0.00843, allocations: 0 / 0.5003 GB, free: 3.688 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.665e-06/0.008438, allocations: 4 kB / 0.5003 GB, free: 3.684 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 6.61e-07/0.008438, allocations: 0 / 0.5003 GB, free: 3.684 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 6.492e-06/0.008445, allocations: 0 / 0.5003 GB, free: 3.684 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 1.618e-05/0.008461, allocations: 4 kB / 0.5003 GB, free: 3.68 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 9.247e-06/0.00847, allocations: 4 kB / 0.5003 GB, free: 3.676 MB / 366.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: ................. 1 (1) {result} * 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: ........... 0 (scalar:0, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.264e-05/0.008523, allocations: 26.22 kB / 0.5003 GB, free: 3.652 MB / 366.1 MB Notification: Performance of SimCode: time 0.001622/0.01015, allocations: 0.6702 MB / 0.501 GB, free: 2.969 MB / 366.1 MB Notification: Performance of Templates: time 0.005998/0.01614, allocations: 1.881 MB / 0.5028 GB, free: 1.086 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.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: 5.337522682733834]