Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001164/0.001164, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.001458/0.001458, allocations: 158.9 kB / 25.75 MB, free: 8.953 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.025/1.025, allocations: 158.6 MB / 187.5 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 251.1 MB, free: 7.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.522e-05, allocations: 2.312 kB / 251.1 MB, free: 7.848 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.00107/0.001096, allocations: 0.5421 MB / 251.6 MB, free: 7.305 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.003136, allocations: 1.967 MB / 253.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.939e-05/0.003185, allocations: 0 / 253.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.005248, allocations: 199.1 kB / 253.8 MB, free: 5.164 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.395e-05/0.005302, allocations: 27.95 kB / 253.8 MB, free: 5.137 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.005482, allocations: 47.88 kB / 253.9 MB, free: 5.09 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.337e-05/0.005575, allocations: 47.84 kB / 253.9 MB, free: 5.043 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.005623, allocations: 11.92 kB / 253.9 MB, free: 5.031 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.005738, allocations: 31.91 kB / 253.9 MB, free: 5 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.828e-05/0.005827, allocations: 19.92 kB / 254 MB, free: 4.98 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.005846, allocations: 0 / 254 MB, free: 4.98 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.167e-05/0.005908, allocations: 23.91 kB / 254 MB, free: 4.957 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.722e-05/0.005995, allocations: 47.91 kB / 254 MB, free: 4.91 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.006031, allocations: 11.92 kB / 254 MB, free: 4.898 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.006249, allocations: 55.86 kB / 254.1 MB, free: 4.844 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.006252, allocations: 11.94 kB / 254.1 MB, free: 4.832 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006253, allocations: 0 / 254.1 MB, free: 4.832 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.006257, allocations: 0 / 254.1 MB, free: 4.832 MB / 234.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.0003918/0.006649, allocations: 414.1 kB / 254.5 MB, free: 4.387 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.006692, allocations: 15.98 kB / 254.5 MB, free: 4.371 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.006737, allocations: 8.891 kB / 254.5 MB, free: 4.363 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.006908, allocations: 148.4 kB / 254.7 MB, free: 4.191 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.006919, allocations: 384 / 254.7 MB, free: 4.191 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.006945, allocations: 4.328 kB / 254.7 MB, free: 4.188 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.007106, allocations: 183.4 kB / 254.9 MB, free: 3.957 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.007114, allocations: 4.188 kB / 254.9 MB, free: 3.953 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.007129, allocations: 8.375 kB / 254.9 MB, free: 3.945 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.007139, allocations: 3.938 kB / 254.9 MB, free: 3.941 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.128e-05/0.00715, allocations: 0 / 254.9 MB, free: 3.941 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002463/0.007396, allocations: 128.7 kB / 255 MB, free: 3.781 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.619e-05/0.007433, allocations: 30.98 kB / 255 MB, free: 3.738 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.00745, allocations: 15.75 kB / 255.1 MB, free: 3.719 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.523e-06/0.007457, allocations: 0 / 255.1 MB, free: 3.719 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.007492, allocations: 59.09 kB / 255.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.007493, allocations: 0 / 255.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001315/0.007625, allocations: 41.64 kB / 255.2 MB, free: 3.598 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.007695, allocations: 162.2 kB / 255.3 MB, free: 3.402 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.007804, allocations: 201.8 kB / 255.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.007815, allocations: 25.7 kB / 255.5 MB, free: 3.156 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.007874, allocations: 138.9 kB / 255.7 MB, free: 3.016 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.007895, allocations: 7.953 kB / 255.7 MB, free: 3.008 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.007926, allocations: 23.36 kB / 255.7 MB, free: 2.977 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.008036, allocations: 0.4884 MB / 256.2 MB, free: 2.477 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-06/0.008045, allocations: 0 / 256.2 MB, free: 2.477 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.06e-05/0.008105, allocations: 157.4 kB / 256.3 MB, free: 2.277 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.258e-05/0.008128, allocations: 15.75 kB / 256.4 MB, free: 2.258 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.00813, allocations: 0 / 256.4 MB, free: 2.258 MB / 234.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.508e-05/0.008185, allocations: 53.58 kB / 256.4 MB, free: 2.199 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.008196, allocations: 4 kB / 256.4 MB, free: 2.195 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.0082, allocations: 0 / 256.4 MB, free: 2.195 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.008214, allocations: 0 / 256.4 MB, free: 2.195 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.678e-05/0.00824, allocations: 4 kB / 256.4 MB, free: 2.191 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.008246, allocations: 3.938 kB / 256.4 MB, free: 2.188 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.253e-05/0.008289, allocations: 4 kB / 256.4 MB, free: 2.184 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.008294, allocations: 8.016 kB / 256.4 MB, free: 2.176 MB / 234.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 6.759e-05/0.008362, allocations: 156.6 kB / 256.6 MB, free: 2.012 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.008372, allocations: 11.89 kB / 256.6 MB, free: 2 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.008399, allocations: 15.8 kB / 256.6 MB, free: 1.98 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.008401, allocations: 0 / 256.6 MB, free: 1.98 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.008405, allocations: 3.938 kB / 256.6 MB, free: 1.977 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.008409, allocations: 4 kB / 256.6 MB, free: 1.973 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.008524, allocations: 124.6 kB / 256.7 MB, free: 1.816 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.008525, allocations: 0 / 256.7 MB, free: 1.816 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.69e-05/0.008541, allocations: 7.984 kB / 256.7 MB, free: 1.809 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.008543, allocations: 4 kB / 256.8 MB, free: 1.805 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.008559, allocations: 0 / 256.8 MB, free: 1.805 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.00856, allocations: 0 / 256.8 MB, free: 1.805 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.008562, allocations: 3.938 kB / 256.8 MB, free: 1.801 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.008665, allocations: 84.34 kB / 256.8 MB, free: 1.695 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.008689, allocations: 7.984 kB / 256.8 MB, free: 1.688 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.008704, allocations: 0 / 256.8 MB, free: 1.688 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.708e-05/0.008731, allocations: 4 kB / 256.8 MB, free: 1.684 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.008747, allocations: 4.031 kB / 256.9 MB, free: 1.68 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.008751, allocations: 7.938 kB / 256.9 MB, free: 1.672 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.509e-05/0.008826, allocations: 154.2 kB / 257 MB, free: 1.523 MB / 234.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008826, allocations: 0 / 257 MB, free: 1.523 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001491/0.008975, allocations: 8 kB / 257 MB, free: 1.516 MB / 234.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.0003189/0.009294, allocations: 170 kB / 257.2 MB, free: 1.352 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 7.771e-05/0.009371, allocations: 19.62 kB / 257.2 MB, free: 1.328 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.009373, allocations: 0 / 257.2 MB, free: 1.328 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 8.646e-06/0.009382, allocations: 11.69 kB / 257.2 MB, free: 1.312 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.009556, allocations: 19.94 kB / 257.2 MB, free: 1.293 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.01003, allocations: 280.9 kB / 257.5 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.807e-05/0.01006, allocations: 75.27 kB / 257.6 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.117e-05/0.0101, allocations: 16.09 kB / 257.6 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.01012, allocations: 16.5 kB / 257.6 MB, free: 0.8672 MB / 234.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01013, allocations: 0 / 257.6 MB, free: 0.8672 MB / 234.7 MB Notification: Performance of Templates: time 0.003129/0.01325, allocations: 1.279 MB / 258.9 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.7959377919323742]