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.00139/0.00139, allocations: 71.77 kB / 21.69 MB, free: 2.852 MB / 18.57 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.001522/0.001522, allocations: 166.7 kB / 24.99 MB, free: 8.793 MB / 18.57 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 0.9707/0.9707, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 1.573e-06/1.573e-06, allocations: 0 / 273 MB, free: 1.883 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.437e-05, allocations: 2.312 kB / 273 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0009164/0.0009308, allocations: 0.5339 MB / 273.5 MB, free: 1.348 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.00239, allocations: 1.981 MB / 275.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.038e-05/0.002431, allocations: 0 / 275.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.004246, allocations: 245 kB / 275.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.267e-05/0.004289, allocations: 27.91 kB / 275.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.004416, allocations: 47.86 kB / 275.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.033e-05/0.004497, allocations: 47.84 kB / 275.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.143e-05/0.004528, allocations: 0 / 275.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.004629, allocations: 47.83 kB / 275.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.17e-05/0.004691, allocations: 19.91 kB / 276 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.004706, allocations: 4 kB / 276 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.876e-05/0.004745, allocations: 7.984 kB / 276 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.931e-05/0.004814, allocations: 39.92 kB / 276 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.004846, allocations: 15.92 kB / 276 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.005022, allocations: 47.83 kB / 276.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.005024, allocations: 0 / 276.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005024, allocations: 0 / 276.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.005028, allocations: 4 kB / 276.1 MB, free: 14.9 MB / 266.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.0003206/0.005349, allocations: 422 kB / 276.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.00538, allocations: 12.03 kB / 276.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.005419, allocations: 8.891 kB / 276.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.005548, allocations: 140.4 kB / 276.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-06/0.005555, allocations: 384 / 276.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.005576, allocations: 8.312 kB / 276.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.005694, allocations: 183.5 kB / 276.8 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.0057, allocations: 192 / 276.8 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.005709, allocations: 384 / 276.8 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.005716, allocations: 7.938 kB / 276.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.23e-05/0.005728, allocations: 7.984 kB / 276.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/0.005943, allocations: 140.6 kB / 277 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.03e-05/0.005973, allocations: 23.06 kB / 277 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.245e-05/0.005986, allocations: 7.688 kB / 277 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-06/0.005992, allocations: 64 / 277 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.006021, allocations: 71.09 kB / 277.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 5.31e-07/0.006022, allocations: 0 / 277.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001047/0.006127, allocations: 45.58 kB / 277.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.006179, allocations: 166.3 kB / 277.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.256e-05/0.006272, allocations: 191.5 kB / 277.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.006283, allocations: 29.7 kB / 277.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/0.006329, allocations: 142.9 kB / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.006345, allocations: 7.953 kB / 277.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.006371, allocations: 19.38 kB / 277.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.006475, allocations: 0.4923 MB / 278.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-06/0.006483, allocations: 0 / 278.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.997e-05/0.006543, allocations: 157.2 kB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.154e-05/0.006565, allocations: 11.69 kB / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.006566, allocations: 4.062 kB / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.542e-05/0.006612, allocations: 45.64 kB / 278.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.006621, allocations: 4 kB / 278.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.006624, allocations: 0 / 278.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.006635, allocations: 3.938 kB / 278.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.298e-05/0.006658, allocations: 7.984 kB / 278.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.006662, allocations: 3.938 kB / 278.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.805e-05/0.0067, allocations: 7.953 kB / 278.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.006704, allocations: 0 / 278.4 MB, free: 12.24 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 5.817e-05/0.006762, allocations: 160.6 kB / 278.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.006771, allocations: 8.031 kB / 278.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.922e-05/0.00679, allocations: 7.812 kB / 278.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.006795, allocations: 4 kB / 278.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.0068, allocations: 7.922 kB / 278.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.006803, allocations: 0 / 278.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.471e-05/0.006897, allocations: 128.6 kB / 278.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.006899, allocations: 4 kB / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.304e-05/0.006912, allocations: 0 / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.006913, allocations: 0 / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.006922, allocations: 0 / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.006923, allocations: 7.938 kB / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.006923, allocations: 0 / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.7e-05/0.007, allocations: 84.33 kB / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.007021, allocations: 11.94 kB / 278.8 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.007033, allocations: 4 kB / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.258e-05/0.007055, allocations: 4 kB / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.221e-05/0.007067, allocations: 0 / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.00707, allocations: 7.938 kB / 278.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.644e-05/0.007116, allocations: 149.4 kB / 279 MB, free: 11.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007116, allocations: 0 / 279 MB, free: 11.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001269/0.007243, allocations: 16 kB / 279 MB, free: 11.58 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.0002338/0.007477, allocations: 136.8 kB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.966e-05/0.007547, allocations: 27.61 kB / 279.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.007548, allocations: 4.062 kB / 279.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.865e-06/0.007556, allocations: 11.69 kB / 279.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001004/0.007656, allocations: 8 kB / 279.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.007917, allocations: 229.9 kB / 279.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.319e-05/0.00795, allocations: 75.2 kB / 279.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.983e-05/0.00798, allocations: 11.98 kB / 279.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.008002, allocations: 12.5 kB / 279.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.008002, allocations: 0 / 279.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of Templates: time 0.002559/0.01056, allocations: 1.108 MB / 280.6 MB, free: 9.961 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.842836417024955]