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.00157/0.00157, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.001689/0.001689, allocations: 209.8 kB / 24.49 MB, free: 4.137 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.411/1.411, allocations: 230.6 MB / 258.3 MB, free: 8.254 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.001464/0.001464, allocations: 47.92 kB / 379 MB, free: 2.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2381, allocations: 53.37 MB / 432.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001606/0.2397, allocations: 0.5238 MB / 432.9 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002424/0.2422, allocations: 1.945 MB / 434.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.2422, allocations: 0 / 434.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002219/0.2444, allocations: 174.8 kB / 435 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.609e-05/0.2445, allocations: 23.91 kB / 435 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.2447, allocations: 43.88 kB / 435.1 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.2448, allocations: 47.83 kB / 435.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.386e-05/0.2448, allocations: 8 kB / 435.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.571e-05/0.2449, allocations: 27.91 kB / 435.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.133e-05/0.2449, allocations: 27.86 kB / 435.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.245, allocations: 0 / 435.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.754e-05/0.245, allocations: 15.98 kB / 435.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.878e-05/0.2451, allocations: 43.91 kB / 435.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.2451, allocations: 15.86 kB / 435.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.2453, allocations: 53.03 kB / 435.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2453, allocations: 0 / 435.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2453, allocations: 0 / 435.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.2453, allocations: 4 kB / 435.3 MB, free: 4.035 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.0004378/0.2458, allocations: 318.5 kB / 435.6 MB, free: 3.691 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.2458, allocations: 12.03 kB / 435.6 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.2e-05/0.2458, allocations: 12.88 kB / 435.7 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.246, allocations: 142.3 kB / 435.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.569e-06/0.246, allocations: 384 / 435.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.2461, allocations: 384 / 435.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.2462, allocations: 86.23 kB / 435.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2462, allocations: 0 / 435.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.2462, allocations: 0 / 435.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.2462, allocations: 0 / 435.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.639e-05/0.2462, allocations: 4 kB / 435.9 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.2465, allocations: 144.8 kB / 436 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.225e-05/0.2466, allocations: 26.52 kB / 436.1 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.2466, allocations: 8.844 kB / 436.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.221e-06/0.2466, allocations: 0 / 436.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.829e-05/0.2467, allocations: 68.25 kB / 436.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.2467, allocations: 0 / 436.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001346/0.2468, allocations: 49.59 kB / 436.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.2469, allocations: 154.2 kB / 436.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.2471, allocations: 150.3 kB / 436.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.2471, allocations: 29.7 kB / 436.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.2471, allocations: 96.12 kB / 436.6 MB, free: 2.547 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.2472, allocations: 4 kB / 436.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.2472, allocations: 21.67 kB / 436.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2474, allocations: 322.8 kB / 436.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.2474, allocations: 4 kB / 436.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.084e-05/0.2474, allocations: 48.28 kB / 437 MB, free: 2.125 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.77e-05/0.2475, allocations: 8.859 kB / 437 MB, free: 2.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2475, allocations: 0 / 437 MB, free: 2.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.413e-05/0.2476, allocations: 57.62 kB / 437.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2476, allocations: 7.938 kB / 437.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2476, allocations: 0 / 437.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2476, allocations: 0 / 437.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.77e-05/0.2476, allocations: 4 kB / 437.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.2476, allocations: 4.094 kB / 437.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.152e-05/0.2477, allocations: 4 kB / 437.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.2477, allocations: 0 / 437.1 MB, free: 2.031 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.0001009/0.2478, allocations: 129.8 kB / 437.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.2478, allocations: 11.89 kB / 437.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.952e-05/0.2478, allocations: 11.7 kB / 437.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2478, allocations: 0 / 437.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2478, allocations: 3.984 kB / 437.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2478, allocations: 4 kB / 437.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.248, allocations: 140.8 kB / 437.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.248, allocations: 0 / 437.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.248, allocations: 7.984 kB / 437.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/0.248, allocations: 3.938 kB / 437.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.248, allocations: 0 / 437.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.248, allocations: 0 / 437.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.248, allocations: 0 / 437.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.2482, allocations: 77.05 kB / 437.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.099e-05/0.2482, allocations: 15.98 kB / 437.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.2482, allocations: 4 kB / 437.5 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.084e-05/0.2483, allocations: 3.984 kB / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.272e-05/0.2483, allocations: 0 / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.2483, allocations: 4 kB / 437.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.171e-05/0.2484, allocations: 117.5 kB / 437.6 MB, free: 1.438 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2484, allocations: 0 / 437.6 MB, free: 1.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002071/0.2486, allocations: 15.94 kB / 437.6 MB, free: 1.422 MB / 334.1 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.0003259/0.2489, allocations: 153.6 kB / 437.8 MB, free: 1.285 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.788e-05/0.249, allocations: 15.92 kB / 437.8 MB, free: 1.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.249, allocations: 0 / 437.8 MB, free: 1.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.295e-05/0.249, allocations: 8.062 kB / 437.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.2491, allocations: 8 kB / 437.8 MB, free: 1.254 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.2495, allocations: 199.6 kB / 438 MB, free: 1.023 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.2498, allocations: 0.6885 MB / 438.7 MB, free: 316 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.2498, allocations: 19.42 kB / 438.7 MB, free: 296 kB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2498, allocations: 0 / 438.7 MB, free: 296 kB / 334.1 MB Notification: Performance of Templates: time 0.003182/0.253, allocations: 1.428 MB / 440.1 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: 7.035277545917779]