Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001516/0.001517, allocations: 113.9 kB / 19.13 MB, free: 3.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001683/0.001683, allocations: 212.9 kB / 22.08 MB, free: 0.9727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 252.3 MB, free: 72 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2533/0.2533, allocations: 46.17 MB / 351.8 MB, free: 14.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 80.91 kB / 490.8 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1259, allocations: 62.45 MB / 0.5403 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001628/0.1275, allocations: 493 kB / 0.5408 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.1288, allocations: 0.7818 MB / 0.5416 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.236e-05/0.1288, allocations: 0 / 0.5416 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.685e-05/0.1288, allocations: 0 / 0.5416 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.129, allocations: 11.94 kB / 0.5416 GB, free: 2.984 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:333:3-373:15:writable] Warning: Pure function 'ModelicaTest.Utilities.ReadFile' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0006182/0.1297, allocations: 51.45 kB / 0.5416 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.739e-05/0.1297, allocations: 8 kB / 0.5416 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.589e-05/0.1298, allocations: 3.938 kB / 0.5416 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.658e-05/0.1298, allocations: 0 / 0.5416 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.515e-05/0.1299, allocations: 7.984 kB / 0.5416 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.1299, allocations: 0 / 0.5416 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.13, allocations: 59.89 kB / 0.5417 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.1301, allocations: 4 kB / 0.5417 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.1301, allocations: 3.938 kB / 0.5417 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.1302, allocations: 47.86 kB / 0.5417 GB, free: 2.805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1303, allocations: 4 kB / 0.5417 GB, free: 2.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1303, allocations: 4 kB / 0.5418 GB, free: 2.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1303, allocations: 0 / 0.5418 GB, free: 2.797 MB / 398.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.0004184/0.1307, allocations: 361 kB / 0.5421 GB, free: 2.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1307, allocations: 8.031 kB / 0.5421 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.1308, allocations: 0.9375 kB / 0.5421 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.1309, allocations: 164.4 kB / 0.5423 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1309, allocations: 4.375 kB / 0.5423 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-06/0.131, allocations: 384 / 0.5423 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.957e-05/0.131, allocations: 34.2 kB / 0.5423 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1311, allocations: 192 / 0.5423 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1311, allocations: 7.938 kB / 0.5423 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.1311, allocations: 0 / 0.5423 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.497e-05/0.1311, allocations: 0 / 0.5423 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002284/0.1313, allocations: 153.7 kB / 0.5425 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.933e-05/0.1314, allocations: 18.61 kB / 0.5425 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.523e-05/0.1314, allocations: 8.797 kB / 0.5425 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.1314, allocations: 7.938 kB / 0.5425 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/0.1315, allocations: 60.33 kB / 0.5425 GB, free: 1.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.1315, allocations: 0 / 0.5425 GB, free: 1.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002525/0.1318, allocations: 71.33 kB / 0.5426 GB, free: 1.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.1318, allocations: 77.11 kB / 0.5427 GB, free: 1.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.982e-05/0.1319, allocations: 89.86 kB / 0.5428 GB, free: 1.535 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.1319, allocations: 29.7 kB / 0.5428 GB, free: 1.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.132, allocations: 84.39 kB / 0.5429 GB, free: 1.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.132, allocations: 0 / 0.5429 GB, free: 1.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.132, allocations: 9.719 kB / 0.5429 GB, free: 1.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1322, allocations: 318.8 kB / 0.5432 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.208e-05/0.1322, allocations: 3.984 kB / 0.5432 GB, free: 1.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-06/0.1322, allocations: 3.938 kB / 0.5432 GB, free: 1.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.1323, allocations: 60.27 kB / 0.5433 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1323, allocations: 0 / 0.5433 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.679e-05/0.1324, allocations: 63.47 kB / 0.5433 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/0.1325, allocations: 33.7 kB / 0.5434 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.1325, allocations: 7.922 kB / 0.5434 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1325, allocations: 4 kB / 0.5434 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.1325, allocations: 0 / 0.5434 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1325, allocations: 0 / 0.5434 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.429e-05/0.1325, allocations: 3.938 kB / 0.5434 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.1326, allocations: 0 / 0.5434 GB, free: 0.8672 MB / 398.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: 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 9.312e-05/0.1327, allocations: 135.5 kB / 0.5435 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.1327, allocations: 4.031 kB / 0.5435 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.184e-05/0.1327, allocations: 11 kB / 0.5435 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.1327, allocations: 0 / 0.5435 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1327, allocations: 0 / 0.5435 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1327, allocations: 4 kB / 0.5435 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.1328, allocations: 145.7 kB / 0.5437 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1328, allocations: 0 / 0.5437 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.1328, allocations: 0 / 0.5437 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-06/0.1329, allocations: 0 / 0.5437 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1329, allocations: 3.938 kB / 0.5437 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.1329, allocations: 8 kB / 0.5437 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1329, allocations: 3.938 kB / 0.5437 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.133, allocations: 94.81 kB / 0.5438 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.1331, allocations: 85.06 kB / 0.5438 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.1331, allocations: 3.938 kB / 0.5438 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-06/0.1331, allocations: 0 / 0.5438 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.1331, allocations: 3.984 kB / 0.5438 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.1331, allocations: 8.031 kB / 0.5439 GB, free: 268 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.6e-05/0.1332, allocations: 79.28 kB / 0.5439 GB, free: 188 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.954e-06/0.1332, allocations: 0 / 0.5439 GB, free: 188 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.1334, allocations: 19.88 kB / 0.5439 GB, free: 168 kB / 398.1 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.0005261/0.1339, allocations: 189.2 kB / 0.5441 GB, free: 16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.134, allocations: 59.41 kB / 0.5442 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.134, allocations: 0 / 0.5442 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.397e-05/0.1341, allocations: 55.41 kB / 0.5442 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.1342, allocations: 6.516 kB / 0.5442 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002034/0.1344, allocations: 114.8 kB / 0.5444 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.1348, allocations: 0.669 MB / 0.545 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.111e-05/0.1348, allocations: 7.438 kB / 0.545 GB, free: 15.01 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1348, allocations: 0 / 0.545 GB, free: 15.01 MB / 414.1 MB Notification: Performance of Templates: time 0.0025/0.1373, allocations: 0.8232 MB / 0.5458 GB, free: 14.18 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.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.518685330054723]