Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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.001549/0.001549, 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.001723/0.001723, allocations: 219.4 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.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/1.977e-05, allocations: 2.281 kB / 378.9 MB, free: 2.527 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001438/0.001457, allocations: 0.5171 MB / 379.4 MB, free: 2.016 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00234/0.003798, allocations: 1.921 MB / 381.3 MB, free: 80 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.657e-05/0.003834, allocations: 0 / 381.3 MB, free: 80 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1591/0.1629, allocations: 160.1 kB / 381.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.819e-05/0.163, allocations: 23.73 kB / 381.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.1632, allocations: 46.64 kB / 381.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.1634, allocations: 59.34 kB / 381.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.1634, allocations: 3.703 kB / 381.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.745e-05/0.1635, allocations: 34.83 kB / 381.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.757e-05/0.1636, allocations: 19.67 kB / 381.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.1636, allocations: 1.188 kB / 381.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.57e-05/0.1636, allocations: 13.31 kB / 381.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of combineBinaries: time 9.362e-05/0.1637, allocations: 91.14 kB / 381.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 2.987e-05/0.1638, allocations: 57.31 kB / 381.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.1638, allocations: 3.312 kB / 381.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.906e-05/0.1639, allocations: 3.312 kB / 381.8 MB, free: 13.04 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: 1 (1) * Number of variables: 1 (1) Notification: Performance of [SIM] Bindings: time 0.0004607/0.1643, allocations: 393.5 kB / 382.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.262e-05/0.1644, allocations: 30.2 kB / 382.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 7.651e-05/0.1645, allocations: 80.19 kB / 382.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 8.036e-05/0.1645, allocations: 77.23 kB / 382.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 8.338e-05/0.1646, allocations: 93.28 kB / 382.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 6.419e-05/0.1647, allocations: 78.67 kB / 382.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.247e-05/0.1647, allocations: 51.61 kB / 382.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001282/0.1649, allocations: 94.3 kB / 382.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001079/0.165, allocations: 37.94 kB / 382.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001019/0.1651, allocations: 70.36 kB / 382.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002195/0.1653, allocations: 94.47 kB / 382.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 6.649e-05/0.1653, allocations: 75.08 kB / 383 MB, free: 12.02 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0015/0.1668, allocations: 241.9 kB / 383.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of [INI] Inline: time 9.362e-05/0.1669, allocations: 98.89 kB / 383.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.037e-05/0.167, allocations: 10.8 kB / 383.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.088e-05/0.167, allocations: 18.2 kB / 383.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0001358/0.1671, allocations: 78.36 kB / 383.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.052e-05/0.1671, allocations: 1.875 kB / 383.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.21e-07/0.1671, allocations: 0 / 383.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.19e-06/0.1671, allocations: 1.656 kB / 383.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 3.537e-06/0.1671, allocations: 8.844 kB / 383.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 8.085e-06/0.1671, allocations: 4.984 kB / 383.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 7.657e-05/0.1672, allocations: 36.08 kB / 383.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 9.438e-05/0.1673, allocations: 173.5 kB / 383.7 MB, free: 11.62 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 1 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 3 * 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: ............................. 1 (1) {x} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 3 (3) {$SEV_2, $SEV_1, $SEV_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: ........... 4 (scalar:4, 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: ........... 5 (scalar:5, 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: Performance of backend: time 3.356e-05/0.1673, allocations: 29.38 kB / 383.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of SimCode: time 0.0009747/0.1683, allocations: 0.5462 MB / 384.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of Templates: time 0.004015/0.1723, allocations: 1.003 MB / 385.2 MB, free: 11.29 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,x Variables in the result:A1[1,1],A1[1,2],A1[2,1],A1[2,2],A1[3,1],A1[3,2],A2[1,1],A2[1,2],A2[2,1],A2[2,2],A2[3,1],A2[3,2],A3[1,1],A3[1,2],A3[2,1],A3[2,2],A3[3,1],A3[3,2],A[1,1],A[1,2],A[2,1],A[2,2],A[3,1],A[3,2],dim1[1],dim1[2],dim2[1],dim2[2],dim3[1],dim3[2],dim[1],dim[2],time,x [Calling sys.exit(0), Time elapsed: 4.208233313634992]