Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001842/0.001842, allocations: 114.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002226/0.002226, allocations: 210.9 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.425/1.425, allocations: 230.4 MB / 258.1 MB, free: 8.148 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 71.77 kB / 378.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2173, allocations: 53.32 MB / 432 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001611/0.2189, allocations: 0.5278 MB / 432.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.2213, allocations: 1.945 MB / 434.5 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.126e-05/0.2213, allocations: 4 kB / 434.5 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008406/0.2297, allocations: 156.1 kB / 434.7 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.947e-05/0.2298, allocations: 27.91 kB / 434.7 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.23, allocations: 47.86 kB / 434.7 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.2301, allocations: 43.84 kB / 434.8 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.106e-05/0.2302, allocations: 0 / 434.8 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.38e-05/0.2302, allocations: 35.84 kB / 434.8 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.613e-05/0.2303, allocations: 27.91 kB / 434.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.2303, allocations: 0 / 434.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.032e-05/0.2304, allocations: 16 kB / 434.9 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.966e-05/0.2305, allocations: 39.91 kB / 434.9 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.2305, allocations: 19.86 kB / 434.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.2307, allocations: 53.72 kB / 435 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2307, allocations: 0 / 435 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2307, allocations: 0 / 435 MB, free: 4.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.2307, allocations: 0 / 435 MB, free: 4.516 MB / 334.1 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.0004971/0.2312, allocations: 396.9 kB / 435.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2313, allocations: 12.03 kB / 435.4 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.2313, allocations: 8.891 kB / 435.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.2315, allocations: 199.5 kB / 435.6 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-06/0.2315, allocations: 4.312 kB / 435.6 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.2315, allocations: 384 / 435.6 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.2317, allocations: 78.3 kB / 435.6 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.2317, allocations: 3.938 kB / 435.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2317, allocations: 0 / 435.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2317, allocations: 4 kB / 435.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.978e-05/0.2317, allocations: 3.938 kB / 435.7 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.232, allocations: 177.7 kB / 435.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.544e-05/0.2321, allocations: 22.58 kB / 435.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.833e-05/0.2321, allocations: 8.844 kB / 435.9 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.2321, allocations: 4 kB / 435.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/0.2322, allocations: 72.2 kB / 435.9 MB, free: 3.355 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.2322, allocations: 0 / 435.9 MB, free: 3.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001393/0.2323, allocations: 53.58 kB / 436 MB, free: 3.297 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.916e-05/0.2324, allocations: 154.2 kB / 436.1 MB, free: 3.109 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.2325, allocations: 150.1 kB / 436.3 MB, free: 2.949 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.2326, allocations: 25.7 kB / 436.3 MB, free: 2.918 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.2326, allocations: 96.27 kB / 436.4 MB, free: 2.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.2326, allocations: 0 / 436.4 MB, free: 2.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.2327, allocations: 25.67 kB / 436.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2328, allocations: 318.8 kB / 436.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/0.2328, allocations: 4 kB / 436.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.947e-05/0.2329, allocations: 36.28 kB / 436.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.078e-05/0.2329, allocations: 20.92 kB / 436.8 MB, free: 2.391 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2329, allocations: 0 / 436.8 MB, free: 2.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.161e-05/0.233, allocations: 53.62 kB / 436.9 MB, free: 2.332 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.233, allocations: 10.91 kB / 436.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.233, allocations: 0 / 436.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.233, allocations: 0 / 436.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.873e-05/0.2331, allocations: 4 kB / 436.9 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.2331, allocations: 0 / 436.9 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.052e-05/0.2331, allocations: 0 / 436.9 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.2331, allocations: 4 kB / 436.9 MB, free: 2.316 MB / 334.1 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 0.0001034/0.2332, allocations: 125.9 kB / 437 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.2333, allocations: 11.89 kB / 437 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.2333, allocations: 19.81 kB / 437 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.2333, allocations: 0 / 437 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2333, allocations: 0 / 437 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.747e-05/0.2334, allocations: 85.06 kB / 437.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.2334, allocations: 7.938 kB / 437.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.601e-05/0.2334, allocations: 3.984 kB / 437.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.142e-05/0.2334, allocations: 4 kB / 437.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001504/0.2336, allocations: 128.9 kB / 437.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001872/0.2338, allocations: 222.7 kB / 437.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.797e-05/0.2338, allocations: 4.031 kB / 437.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.101e-05/0.2339, allocations: 117.8 kB / 437.6 MB, free: 1.551 MB / 334.1 MB Notification: Performance of Backend: time 2.41e-07/0.2339, allocations: 8.062 kB / 437.6 MB, free: 1.543 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005979/0.2345, allocations: 134.7 kB / 437.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006514/0.2351, allocations: 0.7096 MB / 438.4 MB, free: 0.668 MB / 334.1 MB Notification: Performance of Templates: time 0.004211/0.2394, allocations: 1.059 MB / 439.5 MB, free: 15.63 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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: 4.326628863345832]