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.0009955/0.0009956, allocations: 200.9 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 226.5 MB / 245.4 MB, free: 6.414 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007334/0.0007334, allocations: 90.08 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3776/0.3776, allocations: 44.83 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0003999, allocations: 11.98 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3703, allocations: 62.96 MB / 0.5184 GB, free: 37.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1093/0.4797, allocations: 86.6 MB / 0.603 GB, free: 2.719 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.48, allocations: 63.95 kB / 0.603 GB, free: 2.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00422/0.4842, allocations: 1.917 MB / 0.6049 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4842, allocations: 0 / 0.6049 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.4842, allocations: 0 / 0.6049 GB, free: 0.7383 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.0002762/0.4845, allocations: 361.2 kB / 0.6053 GB, free: 336 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.4846, allocations: 12.02 kB / 0.6053 GB, free: 324 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.4846, allocations: 4.938 kB / 0.6053 GB, free: 320 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.4847, allocations: 160.4 kB / 0.6054 GB, free: 120 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.4847, allocations: 12.31 kB / 0.6054 GB, free: 108 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.4847, allocations: 384 / 0.6054 GB, free: 108 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.822e-05/0.4848, allocations: 26.27 kB / 0.6055 GB, free: 76 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.4848, allocations: 4.188 kB / 0.6055 GB, free: 72 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.4848, allocations: 3.938 kB / 0.6055 GB, free: 68 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.4849, allocations: 0 / 0.6055 GB, free: 68 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.562e-05/0.4849, allocations: 4 kB / 0.6055 GB, free: 64 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.485, allocations: 145.7 kB / 0.6056 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.398e-05/0.4851, allocations: 26.55 kB / 0.6056 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.179e-05/0.4851, allocations: 4.859 kB / 0.6056 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-06/0.4851, allocations: 0 / 0.6056 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/0.4851, allocations: 64.27 kB / 0.6057 GB, free: 15.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.4852, allocations: 0 / 0.6057 GB, free: 15.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001489/0.4853, allocations: 67.33 kB / 0.6058 GB, free: 15.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.4854, allocations: 77.11 kB / 0.6058 GB, free: 15.58 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.212e-05/0.4854, allocations: 93.98 kB / 0.6059 GB, free: 15.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.4854, allocations: 29.7 kB / 0.606 GB, free: 15.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.694e-05/0.4855, allocations: 84.14 kB / 0.606 GB, free: 15.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.4855, allocations: 0 / 0.606 GB, free: 15.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.4855, allocations: 0 / 0.606 GB, free: 15.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4856, allocations: 318.8 kB / 0.6063 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-06/0.4856, allocations: 0 / 0.6063 GB, free: 15.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-06/0.4856, allocations: 4 kB / 0.6063 GB, free: 15.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.723e-05/0.4857, allocations: 64.39 kB / 0.6064 GB, free: 14.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4857, allocations: 4 kB / 0.6064 GB, free: 14.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.349e-05/0.4858, allocations: 59.41 kB / 0.6065 GB, free: 14.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.4858, allocations: 37.69 kB / 0.6065 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.4858, allocations: 7.922 kB / 0.6065 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.4858, allocations: 3.938 kB / 0.6065 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.4859, allocations: 0 / 0.6065 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.4859, allocations: 0 / 0.6065 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.312e-05/0.4859, allocations: 0 / 0.6065 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.4859, allocations: 11.97 kB / 0.6065 GB, free: 14.81 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.786e-05/0.486, allocations: 131.5 kB / 0.6066 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.712e-06/0.486, allocations: 0 / 0.6066 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.244e-05/0.486, allocations: 14.66 kB / 0.6067 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.486, allocations: 3.984 kB / 0.6067 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.486, allocations: 0 / 0.6067 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.486, allocations: 0 / 0.6067 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.344e-05/0.4861, allocations: 145.7 kB / 0.6068 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.4861, allocations: 0 / 0.6068 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-06/0.4861, allocations: 8 kB / 0.6068 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.4861, allocations: 0 / 0.6068 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.4861, allocations: 3.938 kB / 0.6068 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.4861, allocations: 0 / 0.6068 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4862, allocations: 3.984 kB / 0.6068 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.204e-05/0.4862, allocations: 86.84 kB / 0.6069 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.939e-05/0.4863, allocations: 77.11 kB / 0.607 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.4863, allocations: 7.922 kB / 0.607 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.488e-06/0.4863, allocations: 8.031 kB / 0.607 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.4863, allocations: 3.938 kB / 0.607 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.4863, allocations: 7.984 kB / 0.607 GB, free: 14.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.956e-05/0.4864, allocations: 75.28 kB / 0.6071 GB, free: 14.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4864, allocations: 0 / 0.6071 GB, free: 14.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.4866, allocations: 20 kB / 0.6071 GB, free: 14.12 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.0003304/0.4869, allocations: 198.8 kB / 0.6073 GB, free: 13.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.423e-05/0.487, allocations: 55.41 kB / 0.6073 GB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.487, allocations: 4.062 kB / 0.6073 GB, free: 13.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.545e-05/0.4871, allocations: 55.41 kB / 0.6074 GB, free: 13.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001135/0.4872, allocations: 3.438 kB / 0.6074 GB, free: 13.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001473/0.4874, allocations: 86.66 kB / 0.6075 GB, free: 13.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.4876, allocations: 0.6731 MB / 0.6081 GB, free: 12.99 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.001e-06/0.4876, allocations: 4 kB / 0.6081 GB, free: 12.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.324e-06/0.4876, allocations: 7.438 kB / 0.6081 GB, free: 12.98 MB / 426.7 MB Notification: Performance of SimCode: time 1.463e-06/0.4876, allocations: 0 / 0.6081 GB, free: 12.98 MB / 426.7 MB Notification: Performance of Templates: time 0.002385/0.49, allocations: 0.6365 MB / 0.6088 GB, free: 12.35 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/jenkins1/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