Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0009675/0.0009675, allocations: 85.91 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001031/0.001031, allocations: 164.5 kB / 25.61 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9495/0.9495, allocations: 177 MB / 205.9 MB, free: 4.426 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 274.1 MB, free: 4.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.549e-05, allocations: 3.094 kB / 274.1 MB, free: 4.332 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001433/0.001449, allocations: 0.5402 MB / 274.6 MB, free: 3.809 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00276/0.004209, allocations: 1.987 MB / 276.6 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.277e-05/0.004262, allocations: 0 / 276.6 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002388/0.00665, allocations: 242.8 kB / 276.8 MB, free: 1.668 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.659e-05/0.006707, allocations: 27.91 kB / 276.9 MB, free: 1.641 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.00688, allocations: 53.36 kB / 276.9 MB, free: 1.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.514e-05/0.006965, allocations: 41.28 kB / 277 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.719e-05/0.006992, allocations: 4 kB / 277 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001772/0.008765, allocations: 386.3 kB / 277.3 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.779e-05/0.008832, allocations: 15.94 kB / 277.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.008845, allocations: 0 / 277.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.95e-05/0.008874, allocations: 4 kB / 277.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.008928, allocations: 35.89 kB / 277.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.008959, allocations: 11.88 kB / 277.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.009145, allocations: 47.72 kB / 277.5 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.009147, allocations: 0 / 277.5 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.009148, allocations: 0 / 277.5 MB, free: 1.215 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.905e-06/0.009151, allocations: 0 / 277.5 MB, free: 1.215 MB / 250.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.0003499/0.009501, allocations: 465.6 kB / 277.9 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.009531, allocations: 11.97 kB / 277.9 MB, free: 0.707 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.009566, allocations: 20.83 kB / 277.9 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.00975, allocations: 167.9 kB / 278.1 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.009763, allocations: 4.375 kB / 278.1 MB, free: 500 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.009778, allocations: 384 / 278.1 MB, free: 500 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.485e-05/0.009853, allocations: 75.33 kB / 278.2 MB, free: 404 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.009859, allocations: 192 / 278.2 MB, free: 404 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-06/0.009864, allocations: 384 / 278.2 MB, free: 404 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.009871, allocations: 3.938 kB / 278.2 MB, free: 400 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.506e-06/0.009879, allocations: 8 kB / 278.2 MB, free: 392 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002323/0.01011, allocations: 129.2 kB / 278.3 MB, free: 236 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.234e-05/0.01014, allocations: 27.05 kB / 278.3 MB, free: 196 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.335e-05/0.01016, allocations: 11.75 kB / 278.4 MB, free: 180 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-06/0.01016, allocations: 0 / 278.4 MB, free: 180 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.0102, allocations: 63.09 kB / 278.4 MB, free: 100 kB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.0102, allocations: 0 / 278.4 MB, free: 100 kB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 9.177e-05/0.01029, allocations: 49.53 kB / 278.5 MB, free: 44 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.01034, allocations: 77.11 kB / 278.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.0105, allocations: 259.8 kB / 278.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.01052, allocations: 25.7 kB / 278.8 MB, free: 15.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/0.01059, allocations: 166.8 kB / 279 MB, free: 15.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.0106, allocations: 3.953 kB / 279 MB, free: 15.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.01064, allocations: 23.38 kB / 279 MB, free: 15.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.01078, allocations: 0.504 MB / 279.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.166e-06/0.01079, allocations: 0 / 279.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.133e-05/0.01082, allocations: 49.06 kB / 279.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.243e-05/0.01084, allocations: 11.69 kB / 279.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.01084, allocations: 96 / 279.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.498e-05/0.01091, allocations: 53.55 kB / 279.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.01092, allocations: 11.59 kB / 279.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.01093, allocations: 3.984 kB / 279.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.01093, allocations: 0 / 279.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.173e-05/0.01097, allocations: 7.984 kB / 279.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.01097, allocations: 3.984 kB / 279.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.192e-05/0.01099, allocations: 7.938 kB / 279.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.011, allocations: 4 kB / 279.7 MB, free: 14.76 MB / 266.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 7.071e-05/0.01107, allocations: 156.6 kB / 279.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.01109, allocations: 15.94 kB / 279.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.34e-05/0.01111, allocations: 12.5 kB / 279.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.01111, allocations: 3.984 kB / 279.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.01111, allocations: 4 kB / 279.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01112, allocations: 3.938 kB / 279.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.01129, allocations: 129.2 kB / 280 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.01129, allocations: 0 / 280 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.942e-05/0.01131, allocations: 0 / 280 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.01131, allocations: 0 / 280 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.01132, allocations: 3.984 kB / 280 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.01132, allocations: 8 kB / 280 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01132, allocations: 0 / 280 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.01143, allocations: 84.23 kB / 280.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.033e-05/0.01146, allocations: 11.94 kB / 280.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.01147, allocations: 4 kB / 280.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.964e-05/0.01149, allocations: 3.938 kB / 280.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.035e-05/0.0115, allocations: 0 / 280.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.0115, allocations: 0 / 280.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.01161, allocations: 180.4 kB / 280.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01161, allocations: 0 / 280.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002085/0.01182, allocations: 8.062 kB / 280.3 MB, free: 14.08 MB / 266.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.0001835/0.012, allocations: 115.6 kB / 280.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.302e-05/0.01207, allocations: 19.56 kB / 280.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01207, allocations: 4 kB / 280.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.363e-05/0.01208, allocations: 11.67 kB / 280.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.01223, allocations: 12 kB / 280.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.01252, allocations: 214.6 kB / 280.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.281e-05/0.01256, allocations: 67.33 kB / 280.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.715e-05/0.0126, allocations: 12.97 kB / 280.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.01268, allocations: 90.19 kB / 280.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01268, allocations: 0 / 280.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of Templates: time 0.002774/0.01545, allocations: 0.5937 MB / 281.4 MB, free: 12.91 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.6620683446526527]