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.001605/0.001605, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001799/0.001799, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.474/1.474, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001799/0.001799, allocations: 47.92 kB / 378.9 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2657, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001641/0.2674, allocations: 0.5161 MB / 432.8 MB, free: 6.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002494/0.2699, allocations: 1.906 MB / 434.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.584e-05/0.2699, allocations: 8 kB / 434.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001914/0.2718, allocations: 158.9 kB / 434.9 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.289e-05/0.2719, allocations: 27.91 kB / 434.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.272, allocations: 43.88 kB / 435 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.473e-05/0.2721, allocations: 47.89 kB / 435 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.355e-05/0.2722, allocations: 0 / 435 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.576e-05/0.2723, allocations: 39.78 kB / 435.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.983e-05/0.2723, allocations: 23.11 kB / 435.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.2724, allocations: 0 / 435.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.909e-05/0.2724, allocations: 19.98 kB / 435.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.56e-05/0.2725, allocations: 39.91 kB / 435.1 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.364e-05/0.2726, allocations: 23.86 kB / 435.2 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.2727, allocations: 50.42 kB / 435.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2727, allocations: 0 / 435.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2728, allocations: 4 kB / 435.2 MB, free: 3.855 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.2728, allocations: 0 / 435.2 MB, free: 3.855 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.0004339/0.2732, allocations: 319.8 kB / 435.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.2732, allocations: 8.031 kB / 435.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.2733, allocations: 8.891 kB / 435.5 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.2735, allocations: 148.9 kB / 435.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.469e-06/0.2735, allocations: 384 / 435.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.2735, allocations: 384 / 435.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.2737, allocations: 181 kB / 435.9 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2737, allocations: 3.984 kB / 435.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.2737, allocations: 4 kB / 435.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.2737, allocations: 0 / 435.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.977e-05/0.2737, allocations: 11.92 kB / 435.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002849/0.274, allocations: 121.3 kB / 436 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.143e-05/0.2741, allocations: 22.58 kB / 436 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.677e-05/0.2741, allocations: 4.859 kB / 436 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-06/0.2741, allocations: 0 / 436 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/0.2742, allocations: 64.31 kB / 436.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.2742, allocations: 0 / 436.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001464/0.2743, allocations: 53.53 kB / 436.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.264e-05/0.2744, allocations: 158.3 kB / 436.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.2745, allocations: 150.1 kB / 436.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.2746, allocations: 29.7 kB / 436.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.22e-05/0.2746, allocations: 96.12 kB / 436.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.2747, allocations: 3.953 kB / 436.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.2747, allocations: 17.72 kB / 436.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.2748, allocations: 322.8 kB / 436.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/0.2749, allocations: 0 / 436.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.275, allocations: 147.1 kB / 437 MB, free: 1.738 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.424e-05/0.275, allocations: 20.86 kB / 437.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.275, allocations: 0 / 437.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.504e-05/0.2751, allocations: 45.69 kB / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2751, allocations: 8 kB / 437.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2751, allocations: 3.938 kB / 437.1 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.2751, allocations: 0 / 437.1 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.905e-05/0.2751, allocations: 4 kB / 437.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.2751, allocations: 0 / 437.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.35e-05/0.2752, allocations: 7.953 kB / 437.1 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.2752, allocations: 4 kB / 437.1 MB, free: 1.637 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.0001106/0.2753, allocations: 133.8 kB / 437.3 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.2753, allocations: 4 kB / 437.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.2754, allocations: 19.69 kB / 437.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.2754, allocations: 0 / 437.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2754, allocations: 0 / 437.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2754, allocations: 3.938 kB / 437.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.2756, allocations: 121.3 kB / 437.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2756, allocations: 0 / 437.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.575e-05/0.2756, allocations: 4 kB / 437.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.2756, allocations: 7.922 kB / 437.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.2756, allocations: 0 / 437.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.2756, allocations: 7.938 kB / 437.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2756, allocations: 0 / 437.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.2757, allocations: 73.08 kB / 437.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.2757, allocations: 7.984 kB / 437.5 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.2758, allocations: 4 kB / 437.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.208e-05/0.2758, allocations: 3.938 kB / 437.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.2758, allocations: 7.984 kB / 437.5 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.2758, allocations: 0 / 437.5 MB, free: 1.188 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.2759, allocations: 122 kB / 437.6 MB, free: 1.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2759, allocations: 0 / 437.6 MB, free: 1.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001996/0.2761, allocations: 16.03 kB / 437.7 MB, free: 1.055 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.000349/0.2765, allocations: 139.7 kB / 437.8 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.546e-05/0.2766, allocations: 27.92 kB / 437.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2766, allocations: 0 / 437.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.546e-06/0.2766, allocations: 0 / 437.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.2767, allocations: 12 kB / 437.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.2771, allocations: 203.6 kB / 438 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.119e-05/0.2772, allocations: 71.33 kB / 438.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.2772, allocations: 19.42 kB / 438.1 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2772, allocations: 0 / 438.1 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of Templates: time 0.003274/0.2805, allocations: 1.449 MB / 439.6 MB, free: 15.12 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.314358532894403]