Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.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.001221/0.001221, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001633/0.002854, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001062/0.001062, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001377/0.002439, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9197/0.9197, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1557/1.075, allocations: 49.5 MB / 220.5 MB, free: 5.277 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1273/0.1273, allocations: 32.34 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0251/0.1524, allocations: 12.3 MB / 265.9 MB, free: 7.832 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 267.2 MB, free: 6.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.935e-05, allocations: 2.312 kB / 267.2 MB, free: 6.574 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001107/0.001126, allocations: 0.5477 MB / 267.7 MB, free: 6.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008556/0.001982, allocations: 0.9197 MB / 268.6 MB, free: 5.098 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.646e-05/0.001998, allocations: 0 / 268.6 MB, free: 5.098 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.427e-06/0.002002, allocations: 0 / 268.6 MB, free: 5.098 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.246e-05/0.002054, allocations: 11.92 kB / 268.7 MB, free: 5.086 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.002417, allocations: 67.62 kB / 268.7 MB, free: 5.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.262e-05/0.00247, allocations: 11.94 kB / 268.7 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.945e-05/0.002499, allocations: 0 / 268.7 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.316e-05/0.002532, allocations: 4 kB / 268.7 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.976e-05/0.002572, allocations: 0 / 268.7 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.734e-06/0.00258, allocations: 0 / 268.7 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.002693, allocations: 59.88 kB / 268.8 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.103e-06/0.0027, allocations: 0 / 268.8 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.207e-05/0.002712, allocations: 3.938 kB / 268.8 MB, free: 4.941 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.002827, allocations: 59.81 kB / 268.9 MB, free: 4.883 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.325e-05/0.002841, allocations: 4 kB / 268.9 MB, free: 4.879 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002841, allocations: 0 / 268.9 MB, free: 4.879 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.002853, allocations: 0 / 268.9 MB, free: 4.879 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.0002654/0.003118, allocations: 258.3 kB / 269.1 MB, free: 4.594 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.693e-05/0.003145, allocations: 8.031 kB / 269.1 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.29e-05/0.003168, allocations: 0.9375 kB / 269.1 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.005e-05/0.003238, allocations: 109.8 kB / 269.2 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.00325, allocations: 384 / 269.2 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.003258, allocations: 384 / 269.2 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.592e-05/0.003334, allocations: 63.89 kB / 269.3 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.00334, allocations: 4.188 kB / 269.3 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-06/0.003345, allocations: 384 / 269.3 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.00335, allocations: 384 / 269.3 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.91e-05/0.003369, allocations: 33.64 kB / 269.3 MB, free: 4.336 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.017e-05/0.00343, allocations: 60.98 kB / 269.4 MB, free: 4.262 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.956e-05/0.003469, allocations: 44.31 kB / 269.4 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.492e-05/0.003484, allocations: 30.56 kB / 269.5 MB, free: 4.164 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.478e-06/0.003489, allocations: 4.062 kB / 269.5 MB, free: 4.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.003519, allocations: 64.19 kB / 269.5 MB, free: 4.082 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.00352, allocations: 0 / 269.5 MB, free: 4.082 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001009/0.003621, allocations: 114.8 kB / 269.6 MB, free: 3.945 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.003653, allocations: 81.09 kB / 269.7 MB, free: 3.848 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.461e-05/0.003697, allocations: 94.72 kB / 269.8 MB, free: 3.742 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.714e-06/0.003705, allocations: 29.7 kB / 269.8 MB, free: 3.707 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.745e-05/0.003723, allocations: 84.14 kB / 269.9 MB, free: 3.621 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.158e-05/0.003734, allocations: 3.953 kB / 269.9 MB, free: 3.617 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/0.003754, allocations: 13.72 kB / 269.9 MB, free: 3.598 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.505e-05/0.003819, allocations: 318.8 kB / 270.3 MB, free: 3.277 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.00383, allocations: 25.7 kB / 270.3 MB, free: 3.246 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.241e-05/0.003843, allocations: 33.95 kB / 270.3 MB, free: 3.207 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.778e-05/0.003871, allocations: 68.19 kB / 270.4 MB, free: 3.125 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.003872, allocations: 0 / 270.4 MB, free: 3.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.097e-05/0.003913, allocations: 81.11 kB / 270.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.003943, allocations: 37.69 kB / 270.5 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.003947, allocations: 4 kB / 270.5 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.682e-06/0.003954, allocations: 0 / 270.5 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.468e-06/0.003958, allocations: 3.984 kB / 270.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.00396, allocations: 0 / 270.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.988e-06/0.00397, allocations: 0 / 270.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.003975, allocations: 4.094 kB / 270.5 MB, free: 2.973 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 4.929e-05/0.004024, allocations: 139.5 kB / 270.6 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-06/0.00403, allocations: 4 kB / 270.7 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.138e-06/0.004039, allocations: 10.94 kB / 270.7 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.004041, allocations: 3.984 kB / 270.7 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.004042, allocations: 0 / 270.7 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.004044, allocations: 0 / 270.7 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.856e-05/0.004083, allocations: 69.78 kB / 270.7 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-07/0.004083, allocations: 0 / 270.7 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-07/0.004083, allocations: 0 / 270.7 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-06/0.004087, allocations: 8 kB / 270.7 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.22e-07/0.004088, allocations: 3.938 kB / 270.7 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-06/0.004091, allocations: 0 / 270.7 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.004093, allocations: 4 kB / 270.7 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.004094, allocations: 0 / 270.7 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.263e-05/0.004146, allocations: 112.5 kB / 270.9 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.957e-06/0.004155, allocations: 0 / 270.9 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.46e-06/0.004161, allocations: 4 kB / 270.9 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.085e-05/0.004172, allocations: 3.984 kB / 270.9 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.004173, allocations: 0 / 270.9 MB, free: 2.555 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.242e-06/0.004179, allocations: 8.891 kB / 270.9 MB, free: 2.543 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00418, allocations: 3.938 kB / 270.9 MB, free: 2.539 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001102/0.00429, allocations: 19.94 kB / 270.9 MB, free: 2.52 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003097/0.004599, allocations: 219.2 kB / 271.1 MB, free: 2.297 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.402e-05/0.004673, allocations: 115.7 kB / 271.2 MB, free: 2.156 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.004677, allocations: 0 / 271.2 MB, free: 2.156 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.686e-05/0.004704, allocations: 89.95 kB / 271.3 MB, free: 2.047 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.885e-05/0.004752, allocations: 11.92 kB / 271.3 MB, free: 2.035 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001308/0.004883, allocations: 113.4 kB / 271.4 MB, free: 1.891 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.593e-05/0.004909, allocations: 51.36 kB / 271.5 MB, free: 1.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.728e-06/0.004914, allocations: 0 / 271.5 MB, free: 1.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.004941, allocations: 59.5 kB / 271.5 MB, free: 1.762 MB / 266.7 MB Notification: Performance of SimCode: time 3.5e-07/0.004942, allocations: 0 / 271.5 MB, free: 1.762 MB / 266.7 MB Notification: Performance of Templates: time 0.001873/0.006815, allocations: 0.7822 MB / 272.3 MB, free: 0.9805 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestReadFile/TestReadFile.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.6907885167747736]