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.00184/0.00184, allocations: 111.1 kB / 20.44 MB, free: 1.34 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.002372/0.002372, allocations: 208.2 kB / 23.72 MB, free: 4.527 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.509/1.509, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001622/0.001622, allocations: 39.94 kB / 378.2 MB, free: 2.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.27, allocations: 53.36 MB / 431.5 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001535/0.2715, allocations: 0.5277 MB / 432.1 MB, free: 6.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002545/0.2741, allocations: 1.914 MB / 434 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.319e-05/0.2741, allocations: 4 kB / 434 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002321/0.2764, allocations: 159.7 kB / 434.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.936e-05/0.2765, allocations: 23.97 kB / 434.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.2767, allocations: 43.88 kB / 434.2 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.647e-05/0.2768, allocations: 43.91 kB / 434.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.2768, allocations: 3.984 kB / 434.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.748e-05/0.2769, allocations: 35.84 kB / 434.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.277, allocations: 26.3 kB / 434.3 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.277, allocations: 0 / 434.3 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.661e-05/0.2771, allocations: 19.98 kB / 434.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.2772, allocations: 47.84 kB / 434.4 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.738e-05/0.2772, allocations: 19.86 kB / 434.4 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.2774, allocations: 54 kB / 434.5 MB, free: 3.871 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2775, allocations: 0 / 434.5 MB, free: 3.871 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2775, allocations: 0 / 434.5 MB, free: 3.871 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.2775, allocations: 4 kB / 434.5 MB, free: 3.867 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.0004893/0.2779, allocations: 322.5 kB / 434.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.278, allocations: 8.031 kB / 434.8 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.278, allocations: 8.891 kB / 434.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.2782, allocations: 130.4 kB / 434.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.2783, allocations: 12.36 kB / 434.9 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.2783, allocations: 384 / 434.9 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.2785, allocations: 177 kB / 435.1 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2785, allocations: 3.984 kB / 435.1 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.2785, allocations: 3.938 kB / 435.1 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.2785, allocations: 4 kB / 435.1 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.954e-05/0.2785, allocations: 4 kB / 435.1 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.2788, allocations: 121.3 kB / 435.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.349e-05/0.2789, allocations: 22.58 kB / 435.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.169e-05/0.2789, allocations: 12.84 kB / 435.3 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.2789, allocations: 3.938 kB / 435.3 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.319e-05/0.279, allocations: 60.33 kB / 435.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.279, allocations: 0 / 435.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001539/0.2791, allocations: 45.59 kB / 435.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.2792, allocations: 162.3 kB / 435.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.2794, allocations: 150.1 kB / 435.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.2794, allocations: 25.7 kB / 435.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.2795, allocations: 100.1 kB / 435.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.2795, allocations: 7.953 kB / 435.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.2795, allocations: 17.72 kB / 435.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.2797, allocations: 318.8 kB / 436.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.449e-05/0.2797, allocations: 0 / 436.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.2799, allocations: 155 kB / 436.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.564e-05/0.2799, allocations: 16.86 kB / 436.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2799, allocations: 4.062 kB / 436.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001031/0.28, allocations: 41.69 kB / 436.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.28, allocations: 8 kB / 436.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.28, allocations: 3.938 kB / 436.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.28, allocations: 0 / 436.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.105e-05/0.2801, allocations: 4 kB / 436.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2801, allocations: 3.938 kB / 436.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.064e-05/0.2801, allocations: 7.938 kB / 436.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.2802, allocations: 4 kB / 436.4 MB, free: 1.648 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.0001211/0.2803, allocations: 129.8 kB / 436.5 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.2803, allocations: 4 kB / 436.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.2803, allocations: 19.69 kB / 436.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.2803, allocations: 0 / 436.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2803, allocations: 0 / 436.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2803, allocations: 0 / 436.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.2805, allocations: 125.3 kB / 436.7 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2805, allocations: 3.938 kB / 436.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.96e-05/0.2805, allocations: 4 kB / 436.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.2805, allocations: 0 / 436.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.2805, allocations: 0 / 436.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2805, allocations: 7.938 kB / 436.7 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.2806, allocations: 3.984 kB / 436.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.2807, allocations: 77.02 kB / 436.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.2807, allocations: 7.984 kB / 436.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.2807, allocations: 4 kB / 436.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.922e-05/0.2808, allocations: 7.922 kB / 436.8 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.076e-05/0.2808, allocations: 0 / 436.8 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.2808, allocations: 4 kB / 436.8 MB, free: 1.199 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.624e-05/0.2809, allocations: 118 kB / 436.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2809, allocations: 4 kB / 436.9 MB, free: 1.082 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002057/0.2811, allocations: 20.03 kB / 436.9 MB, free: 1.062 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.0003655/0.2815, allocations: 142.8 kB / 437.1 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.815e-05/0.2816, allocations: 8 kB / 437.1 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2816, allocations: 8.062 kB / 437.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.746e-06/0.2816, allocations: 0 / 437.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.2817, allocations: 12 kB / 437.1 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.2821, allocations: 253.6 kB / 437.3 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.169e-05/0.2822, allocations: 96.59 kB / 437.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.87e-05/0.2823, allocations: 8 kB / 437.4 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.2823, allocations: 23.42 kB / 437.5 MB, free: 500 kB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2823, allocations: 4.062 kB / 437.5 MB, free: 496 kB / 334.1 MB Notification: Performance of Templates: time 0.004403/0.2867, allocations: 1.141 MB / 438.6 MB, free: 15.39 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins/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.547669287770987]