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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001036, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.212/1.212, allocations: 227.2 MB / 245 MB, free: 7.578 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008843/0.0008843, allocations: 103.5 kB / 297.3 MB, free: 6.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3086/0.3086, allocations: 45.22 MB / 394.7 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002343/0.0002344, allocations: 8 kB / 468.4 MB, free: 7.719 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3776, allocations: 63.24 MB / 0.5192 GB, free: 43.89 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1111/0.4888, allocations: 86.73 MB / 0.6039 GB, free: 2.883 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001757/0.489, allocations: 63.97 kB / 0.6039 GB, free: 2.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004118/0.4931, allocations: 1.909 MB / 0.6058 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4931, allocations: 4 kB / 0.6058 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.4932, allocations: 3.062 kB / 0.6058 GB, free: 0.9102 MB / 410.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.0003374/0.4935, allocations: 366.3 kB / 0.6062 GB, free: 0.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.4936, allocations: 8.031 kB / 0.6062 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.4936, allocations: 0 / 0.6062 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.4937, allocations: 167 kB / 0.6063 GB, free: 296 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.4937, allocations: 3.984 kB / 0.6063 GB, free: 292 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.4938, allocations: 4 kB / 0.6063 GB, free: 288 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.993e-05/0.4938, allocations: 27.33 kB / 0.6064 GB, free: 256 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.4939, allocations: 0 / 0.6064 GB, free: 256 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.4939, allocations: 0 / 0.6064 GB, free: 256 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4939, allocations: 0.8438 kB / 0.6064 GB, free: 256 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.773e-05/0.4939, allocations: 4 kB / 0.6064 GB, free: 252 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001448/0.4941, allocations: 154.6 kB / 0.6065 GB, free: 48 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.796e-05/0.4941, allocations: 23.17 kB / 0.6065 GB, free: 16 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.069e-06/0.4941, allocations: 0.5312 kB / 0.6065 GB, free: 16 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.474e-05/0.4942, allocations: 56.95 kB / 0.6066 GB, free: 15.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.353e-06/0.4942, allocations: 2.094 kB / 0.6066 GB, free: 15.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001646/0.4944, allocations: 67.45 kB / 0.6066 GB, free: 15.87 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.4944, allocations: 81.09 kB / 0.6067 GB, free: 15.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.416e-05/0.4945, allocations: 90.59 kB / 0.6068 GB, free: 15.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.4945, allocations: 25.7 kB / 0.6068 GB, free: 15.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.4945, allocations: 80.14 kB / 0.6069 GB, free: 15.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.4945, allocations: 3.938 kB / 0.6069 GB, free: 15.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-06/0.4946, allocations: 0.6562 kB / 0.6069 GB, free: 15.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.857e-05/0.4947, allocations: 311.6 kB / 0.6072 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.119e-05/0.4947, allocations: 4 kB / 0.6072 GB, free: 15.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.4947, allocations: 12.62 kB / 0.6072 GB, free: 15.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.056e-05/0.4947, allocations: 26.55 kB / 0.6073 GB, free: 15.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4947, allocations: 0 / 0.6073 GB, free: 15.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.543e-05/0.4948, allocations: 67.91 kB / 0.6073 GB, free: 15.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.4948, allocations: 34.52 kB / 0.6074 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4948, allocations: 0 / 0.6074 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.4949, allocations: 3.344 kB / 0.6074 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.285e-06/0.4949, allocations: 4 kB / 0.6074 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.4949, allocations: 0 / 0.6074 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.147e-05/0.4949, allocations: 0 / 0.6074 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.4949, allocations: 4 kB / 0.6074 GB, free: 15.07 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.644e-05/0.495, allocations: 135.5 kB / 0.6075 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.495, allocations: 7.953 kB / 0.6075 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.269e-05/0.495, allocations: 16.92 kB / 0.6075 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.495, allocations: 4 kB / 0.6075 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.495, allocations: 0 / 0.6075 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.495, allocations: 0 / 0.6075 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.926e-05/0.4951, allocations: 145.7 kB / 0.6077 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.4951, allocations: 0 / 0.6077 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.4951, allocations: 352 / 0.6077 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4952, allocations: 11.95 kB / 0.6077 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.4952, allocations: 0 / 0.6077 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.4952, allocations: 0 / 0.6077 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.4952, allocations: 0 / 0.6077 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.836e-05/0.4953, allocations: 90.83 kB / 0.6078 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.766e-05/0.4953, allocations: 77.11 kB / 0.6078 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.4953, allocations: 3.953 kB / 0.6078 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.335e-06/0.4953, allocations: 0 / 0.6078 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.057e-05/0.4954, allocations: 8.031 kB / 0.6078 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.4954, allocations: 0 / 0.6078 GB, free: 14.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.043e-05/0.4954, allocations: 75.28 kB / 0.6079 GB, free: 14.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.054e-06/0.4954, allocations: 0 / 0.6079 GB, free: 14.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001853/0.4956, allocations: 27.94 kB / 0.6079 GB, free: 14.38 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003504/0.4959, allocations: 201 kB / 0.6081 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.506e-05/0.496, allocations: 55.41 kB / 0.6082 GB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.496, allocations: 0 / 0.6082 GB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.712e-05/0.4961, allocations: 63.45 kB / 0.6082 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.585e-05/0.4962, allocations: 0 / 0.6082 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001572/0.4963, allocations: 83.88 kB / 0.6083 GB, free: 13.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.4965, allocations: 0.677 MB / 0.609 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.809e-06/0.4966, allocations: 0 / 0.609 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.027e-05/0.4966, allocations: 7.438 kB / 0.609 GB, free: 13.26 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4966, allocations: 0 / 0.609 GB, free: 13.26 MB / 426.7 MB Notification: Performance of Templates: time 0.0026/0.4992, allocations: 0.6051 MB / 0.6096 GB, free: 12.66 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches