Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008857/0.0008857, allocations: 85.08 kB / 23 MB, free: 1.504 MB / 18.57 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.0008393/0.0008393, allocations: 173.1 kB / 26.39 MB, free: 8 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9243/0.9243, allocations: 158.6 MB / 188.3 MB, free: 2.816 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 252.2 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.625e-05/1.784e-05, allocations: 6.25 kB / 252.2 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001062/0.00108, allocations: 0.5304 MB / 252.8 MB, free: 6.742 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.002949, allocations: 1.971 MB / 254.7 MB, free: 4.75 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.002991, allocations: 7.938 kB / 254.7 MB, free: 4.742 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.00488, allocations: 178.3 kB / 254.9 MB, free: 4.605 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.239e-05/0.004933, allocations: 35.89 kB / 255 MB, free: 4.57 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.005072, allocations: 51.81 kB / 255 MB, free: 4.52 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.4e-05/0.005156, allocations: 51.89 kB / 255.1 MB, free: 4.469 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.652e-05/0.005192, allocations: 3.938 kB / 255.1 MB, free: 4.465 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009264/0.006118, allocations: 312.3 kB / 255.4 MB, free: 4.176 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.988e-05/0.006198, allocations: 19.97 kB / 255.4 MB, free: 4.156 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.006215, allocations: 4 kB / 255.4 MB, free: 4.152 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.429e-05/0.00626, allocations: 11.98 kB / 255.4 MB, free: 4.141 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.582e-05/0.006325, allocations: 39.84 kB / 255.4 MB, free: 4.102 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.006351, allocations: 7.938 kB / 255.4 MB, free: 4.094 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.00654, allocations: 71.62 kB / 255.5 MB, free: 4.023 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.006542, allocations: 4 kB / 255.5 MB, free: 4.02 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006543, allocations: 0 / 255.5 MB, free: 4.02 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.006547, allocations: 4 kB / 255.5 MB, free: 4.016 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003442/0.006891, allocations: 457.6 kB / 256 MB, free: 3.527 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.006922, allocations: 15.98 kB / 256 MB, free: 3.512 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.006952, allocations: 8.891 kB / 256 MB, free: 3.504 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.007095, allocations: 161.2 kB / 256.1 MB, free: 3.32 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.007105, allocations: 384 / 256.1 MB, free: 3.32 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.007122, allocations: 8.359 kB / 256.2 MB, free: 3.312 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.615e-05/0.007198, allocations: 71.34 kB / 256.2 MB, free: 3.223 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.007205, allocations: 4.188 kB / 256.2 MB, free: 3.219 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.00721, allocations: 4.312 kB / 256.2 MB, free: 3.215 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.007217, allocations: 3.938 kB / 256.2 MB, free: 3.211 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.921e-06/0.007223, allocations: 0 / 256.2 MB, free: 3.211 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.007457, allocations: 121.2 kB / 256.4 MB, free: 3.066 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.827e-05/0.007495, allocations: 31.05 kB / 256.4 MB, free: 3.023 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.212e-05/0.007507, allocations: 11.69 kB / 256.4 MB, free: 3.008 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.899e-06/0.007512, allocations: 0 / 256.4 MB, free: 3.008 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.007552, allocations: 63.16 kB / 256.5 MB, free: 2.93 MB / 234.7 MB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.007553, allocations: 4 kB / 256.5 MB, free: 2.926 MB / 234.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001053/0.007658, allocations: 45.55 kB / 256.5 MB, free: 2.875 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.007693, allocations: 77.11 kB / 256.6 MB, free: 2.781 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.007807, allocations: 242.6 kB / 256.8 MB, free: 2.527 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.007818, allocations: 29.69 kB / 256.9 MB, free: 2.492 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.652e-05/0.007875, allocations: 158.8 kB / 257 MB, free: 2.332 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.00789, allocations: 0 / 257 MB, free: 2.332 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.007915, allocations: 23.36 kB / 257 MB, free: 2.301 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.008027, allocations: 0.504 MB / 257.5 MB, free: 1.785 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.54e-06/0.008032, allocations: 0 / 257.5 MB, free: 1.785 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.621e-05/0.008059, allocations: 49.2 kB / 257.6 MB, free: 1.723 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.255e-05/0.008081, allocations: 19.62 kB / 257.6 MB, free: 1.699 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.008083, allocations: 0 / 257.6 MB, free: 1.699 MB / 234.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.757e-05/0.00813, allocations: 53.59 kB / 257.7 MB, free: 1.641 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/0.008139, allocations: 4 kB / 257.7 MB, free: 1.637 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.008142, allocations: 0 / 257.7 MB, free: 1.637 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.008152, allocations: 4 kB / 257.7 MB, free: 1.633 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.055e-05/0.008173, allocations: 0 / 257.7 MB, free: 1.633 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.008175, allocations: 0 / 257.7 MB, free: 1.633 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.992e-05/0.008195, allocations: 7.938 kB / 257.7 MB, free: 1.625 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-06/0.008198, allocations: 4.125 kB / 257.7 MB, free: 1.621 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.627e-05/0.008254, allocations: 152.6 kB / 257.8 MB, free: 1.461 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.008265, allocations: 11.95 kB / 257.8 MB, free: 1.449 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.097e-05/0.008286, allocations: 16.48 kB / 257.8 MB, free: 1.43 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.008287, allocations: 0 / 257.8 MB, free: 1.43 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.008288, allocations: 3.938 kB / 257.9 MB, free: 1.426 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.008291, allocations: 3.938 kB / 257.9 MB, free: 1.422 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.008392, allocations: 117.2 kB / 258 MB, free: 1.281 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.008393, allocations: 4 kB / 258 MB, free: 1.277 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.221e-05/0.008405, allocations: 0 / 258 MB, free: 1.277 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.008406, allocations: 4 kB / 258 MB, free: 1.273 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.008414, allocations: 4 kB / 258 MB, free: 1.27 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.008416, allocations: 3.984 kB / 258 MB, free: 1.266 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.008416, allocations: 0 / 258 MB, free: 1.266 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.456e-05/0.008501, allocations: 88.28 kB / 258.1 MB, free: 1.156 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.094e-05/0.008522, allocations: 11.94 kB / 258.1 MB, free: 1.145 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.848e-06/0.008532, allocations: 0 / 258.1 MB, free: 1.145 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.328e-05/0.008545, allocations: 0 / 258.1 MB, free: 1.145 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-06/0.008553, allocations: 4 kB / 258.1 MB, free: 1.141 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.52e-07/0.008554, allocations: 0 / 258.1 MB, free: 1.141 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.762e-05/0.008612, allocations: 173.1 kB / 258.3 MB, free: 0.9727 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008612, allocations: 7.875 kB / 258.3 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001298/0.008741, allocations: 15.92 kB / 258.3 MB, free: 0.9492 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002502/0.008992, allocations: 164.4 kB / 258.4 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.573e-05/0.009057, allocations: 27.59 kB / 258.5 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.009059, allocations: 0 / 258.5 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 7.314e-06/0.009066, allocations: 7.688 kB / 258.5 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001026/0.009169, allocations: 12 kB / 258.5 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002193/0.009388, allocations: 214.5 kB / 258.7 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.439e-05/0.009422, allocations: 71.33 kB / 258.8 MB, free: 412 kB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.303e-05/0.009445, allocations: 12.61 kB / 258.8 MB, free: 400 kB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.767e-05/0.009513, allocations: 98.17 kB / 258.9 MB, free: 300 kB / 234.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009513, allocations: 0 / 258.9 MB, free: 300 kB / 234.7 MB Notification: Performance of Templates: time 0.002585/0.0121, allocations: 1.024 MB / 259.9 MB, free: 15.27 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.691304743755609]