Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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.0008536/0.0008536, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001074/0.001928, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006804/0.0006804, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009759/0.001656, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8434/0.8434, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1594/1.003, allocations: 52.48 MB / 238.5 MB, free: 7.641 MB / 234.7 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.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 239.7 MB, free: 6.395 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.098e-05, allocations: 2.312 kB / 239.7 MB, free: 6.391 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001198/0.001219, allocations: 0.5722 MB / 240.3 MB, free: 5.836 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.00284, allocations: 1.966 MB / 242.3 MB, free: 3.855 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/0.002879, allocations: 4.688 kB / 242.3 MB, free: 3.852 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.004946, allocations: 216.3 kB / 242.5 MB, free: 3.723 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.14e-05/0.005018, allocations: 34.41 kB / 242.5 MB, free: 3.691 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.005236, allocations: 43.81 kB / 242.6 MB, free: 3.648 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.005346, allocations: 43.84 kB / 242.6 MB, free: 3.605 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.005386, allocations: 9.422 kB / 242.6 MB, free: 3.598 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.005518, allocations: 47.84 kB / 242.7 MB, free: 3.551 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.449e-05/0.005613, allocations: 15.97 kB / 242.7 MB, free: 3.535 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.005634, allocations: 7.938 kB / 242.7 MB, free: 3.527 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.536e-05/0.005699, allocations: 12.81 kB / 242.7 MB, free: 3.516 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.253e-05/0.005782, allocations: 39.97 kB / 242.7 MB, free: 3.477 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.005816, allocations: 9.031 kB / 242.7 MB, free: 3.469 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.006088, allocations: 63.69 kB / 242.8 MB, free: 3.406 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.297e-05/0.006101, allocations: 0 / 242.8 MB, free: 3.406 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.006103, allocations: 3.125 kB / 242.8 MB, free: 3.406 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.00612, allocations: 0 / 242.8 MB, free: 3.406 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.0004036/0.006524, allocations: 309.9 kB / 243.1 MB, free: 3.074 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.006559, allocations: 8.031 kB / 243.1 MB, free: 3.066 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.0066, allocations: 8.922 kB / 243.1 MB, free: 3.059 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.00676, allocations: 129.7 kB / 243.2 MB, free: 2.906 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.006768, allocations: 384 / 243.2 MB, free: 2.906 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.006792, allocations: 384 / 243.2 MB, free: 2.906 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.006931, allocations: 177.4 kB / 243.4 MB, free: 2.688 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.006939, allocations: 192 / 243.4 MB, free: 2.688 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.006951, allocations: 4.375 kB / 243.4 MB, free: 2.684 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.006957, allocations: 7.938 kB / 243.4 MB, free: 2.676 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.022e-05/0.006967, allocations: 3.859 kB / 243.4 MB, free: 2.672 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002159/0.007183, allocations: 66.7 kB / 243.5 MB, free: 2.59 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.481e-05/0.007228, allocations: 29.58 kB / 243.5 MB, free: 2.555 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.055e-05/0.007239, allocations: 4.859 kB / 243.5 MB, free: 2.547 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.156e-06/0.007247, allocations: 3.984 kB / 243.5 MB, free: 2.543 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.007287, allocations: 64.31 kB / 243.6 MB, free: 2.465 MB / 234.7 MB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/0.007288, allocations: 0 / 243.6 MB, free: 2.465 MB / 234.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001066/0.007395, allocations: 37.7 kB / 243.6 MB, free: 2.422 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.007455, allocations: 158.2 kB / 243.8 MB, free: 2.23 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.346e-05/0.007549, allocations: 137.9 kB / 243.9 MB, free: 2.086 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.007563, allocations: 25.7 kB / 244 MB, free: 2.055 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.007595, allocations: 85.05 kB / 244 MB, free: 1.969 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.00762, allocations: 11.94 kB / 244 MB, free: 1.957 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.007656, allocations: 21.7 kB / 244.1 MB, free: 1.93 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.692e-05/0.007743, allocations: 320.5 kB / 244.4 MB, free: 1.609 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.007756, allocations: 10.77 kB / 244.4 MB, free: 1.598 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.336e-05/0.007849, allocations: 135.1 kB / 244.5 MB, free: 1.426 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.283e-05/0.007892, allocations: 16.34 kB / 244.5 MB, free: 1.406 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.007894, allocations: 0 / 244.5 MB, free: 1.406 MB / 234.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.802e-05/0.007962, allocations: 53.14 kB / 244.6 MB, free: 1.348 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.007985, allocations: 5.969 kB / 244.6 MB, free: 1.344 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.007989, allocations: 0 / 244.6 MB, free: 1.344 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.008002, allocations: 0 / 244.6 MB, free: 1.344 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.862e-05/0.008041, allocations: 4 kB / 244.6 MB, free: 1.34 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.008044, allocations: 0 / 244.6 MB, free: 1.34 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.623e-05/0.0081, allocations: 11.92 kB / 244.6 MB, free: 1.328 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.008104, allocations: 1.469 kB / 244.6 MB, free: 1.328 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 6.738e-05/0.008172, allocations: 112.7 kB / 244.7 MB, free: 1.207 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.008186, allocations: 4 kB / 244.7 MB, free: 1.203 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.008213, allocations: 12.42 kB / 244.7 MB, free: 1.188 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.008217, allocations: 4.594 kB / 244.7 MB, free: 1.184 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.008218, allocations: 0 / 244.7 MB, free: 1.184 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.008221, allocations: 0.5625 kB / 244.7 MB, free: 1.184 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.008364, allocations: 83.47 kB / 244.8 MB, free: 1.086 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.008366, allocations: 0 / 244.8 MB, free: 1.086 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.967e-05/0.008386, allocations: 0 / 244.8 MB, free: 1.086 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.773e-05/0.008413, allocations: 7.953 kB / 244.8 MB, free: 1.078 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.008416, allocations: 0 / 244.8 MB, free: 1.078 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.008424, allocations: 4.5 kB / 244.8 MB, free: 1.074 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.008427, allocations: 4.828 kB / 244.8 MB, free: 1.07 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.008429, allocations: 0 / 244.8 MB, free: 1.07 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.008535, allocations: 76.28 kB / 244.9 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.00855, allocations: 0 / 244.9 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.182e-05/0.008592, allocations: 4 kB / 244.9 MB, free: 0.9727 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.078e-05/0.008603, allocations: 0 / 244.9 MB, free: 0.9727 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.008606, allocations: 288 / 244.9 MB, free: 0.9727 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.669e-05/0.008643, allocations: 32.83 kB / 245 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008643, allocations: 0 / 245 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.008814, allocations: 19.92 kB / 245 MB, free: 0.918 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.0005289/0.009343, allocations: 199.2 kB / 245.2 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 7.164e-05/0.009415, allocations: 20.84 kB / 245.2 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.00942, allocations: 0 / 245.2 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.421e-05/0.009434, allocations: 8.859 kB / 245.2 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.0001073/0.009542, allocations: 24.05 kB / 245.2 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.009898, allocations: 249.7 kB / 245.5 MB, free: 452 kB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.264e-05/0.00994, allocations: 69.2 kB / 245.5 MB, free: 364 kB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.922e-05/0.00998, allocations: 7.984 kB / 245.5 MB, free: 356 kB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.01011, allocations: 79.34 kB / 245.6 MB, free: 276 kB / 234.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01011, allocations: 0 / 245.6 MB, free: 276 kB / 234.7 MB Notification: Performance of Templates: time 0.004445/0.01456, allocations: 1.451 MB / 247.1 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4872925067320466]