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.001288/0.001288, allocations: 106.5 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.001443/0.001443, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 7.723 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 - loaded program: time 0.001546/0.001546, allocations: 51.92 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2123, allocations: 53.37 MB / 432.3 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001623/0.2139, allocations: 0.5083 MB / 432.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.2162, allocations: 1.918 MB / 434.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.309e-05/0.2163, allocations: 0 / 434.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002601/0.2189, allocations: 164 kB / 434.9 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.039e-05/0.2189, allocations: 23.97 kB / 434.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.2191, allocations: 51.88 kB / 435 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.799e-05/0.2192, allocations: 39.89 kB / 435 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.389e-05/0.2192, allocations: 4 kB / 435 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.049e-05/0.2193, allocations: 35.84 kB / 435.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.503e-05/0.2194, allocations: 19.86 kB / 435.1 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.2194, allocations: 0 / 435.1 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.152e-05/0.2195, allocations: 19.98 kB / 435.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.93e-05/0.2195, allocations: 35.97 kB / 435.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.153e-05/0.2196, allocations: 27.86 kB / 435.2 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.2197, allocations: 50.44 kB / 435.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.2198, allocations: 4 kB / 435.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2198, allocations: 0 / 435.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.2198, allocations: 0 / 435.2 MB, free: 3.805 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.0004052/0.2202, allocations: 311.8 kB / 435.5 MB, free: 3.465 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.2202, allocations: 12.02 kB / 435.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.2202, allocations: 12.83 kB / 435.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.2204, allocations: 148.9 kB / 435.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-06/0.2204, allocations: 384 / 435.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.2205, allocations: 4.375 kB / 435.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.2206, allocations: 177.1 kB / 435.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.2206, allocations: 0 / 435.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.2207, allocations: 0 / 435.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.2207, allocations: 0 / 435.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.727e-05/0.2207, allocations: 7.938 kB / 435.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.2209, allocations: 125.3 kB / 436 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.81e-05/0.221, allocations: 22.58 kB / 436 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.556e-05/0.221, allocations: 4.859 kB / 436 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-06/0.221, allocations: 0 / 436 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/0.2211, allocations: 72.27 kB / 436.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.2211, allocations: 0 / 436.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001365/0.2212, allocations: 53.52 kB / 436.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.327e-05/0.2213, allocations: 154.2 kB / 436.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.2214, allocations: 150.1 kB / 436.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.2214, allocations: 29.7 kB / 436.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.2215, allocations: 100.1 kB / 436.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.2215, allocations: 3.953 kB / 436.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.2216, allocations: 13.72 kB / 436.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2217, allocations: 322.8 kB / 436.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.221e-05/0.2217, allocations: 4.125 kB / 436.9 MB, free: 1.871 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.793e-05/0.2218, allocations: 147.1 kB / 437.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.296e-05/0.2218, allocations: 20.8 kB / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2218, allocations: 0 / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.588e-05/0.2219, allocations: 45.69 kB / 437.1 MB, free: 1.613 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.2219, allocations: 8 kB / 437.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.2219, allocations: 0 / 437.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.2219, allocations: 3.938 kB / 437.1 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.828e-05/0.222, allocations: 4 kB / 437.1 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.222, allocations: 4.094 kB / 437.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.664e-05/0.222, allocations: 3.953 kB / 437.1 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.222, allocations: 7.984 kB / 437.1 MB, free: 1.582 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 9.552e-05/0.2221, allocations: 125.8 kB / 437.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.2222, allocations: 4 kB / 437.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.2222, allocations: 15.7 kB / 437.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-06/0.2222, allocations: 0 / 437.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2222, allocations: 3.984 kB / 437.3 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.2222, allocations: 12 kB / 437.3 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.2222, allocations: 7.984 kB / 437.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.565e-05/0.2223, allocations: 3.938 kB / 437.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.427e-05/0.2223, allocations: 11.94 kB / 437.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001388/0.2224, allocations: 113 kB / 437.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001739/0.2226, allocations: 222.7 kB / 437.7 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.307e-05/0.2226, allocations: 15.95 kB / 437.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.646e-05/0.2227, allocations: 122 kB / 437.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of Backend: time 1.81e-07/0.2227, allocations: 0 / 437.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005662/0.2233, allocations: 137.5 kB / 437.9 MB, free: 0.793 MB / 334.1 MB Notification: Performance of SimCode: time 0.000581/0.2239, allocations: 0.7096 MB / 438.6 MB, free: 32 kB / 334.1 MB Notification: Performance of Templates: time 0.004088/0.228, allocations: 1.201 MB / 439.8 MB, free: 14.88 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/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] Reference file matches [Calling sys.exit(0), Time elapsed: 4.214246601004561]