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.001195/0.001195, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008928/0.000893, allocations: 93.27 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1809/0.1809, allocations: 45.15 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.34e-05/3.359e-05, allocations: 7.984 kB / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1051, allocations: 63.24 MB / 0.5114 GB, free: 6.805 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3818/0.4869, allocations: 86.65 MB / 0.596 GB, free: 7.297 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.4872, allocations: 60.86 kB / 0.596 GB, free: 7.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004106/0.4913, allocations: 1.743 MB / 0.5977 GB, free: 6.012 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4913, allocations: 0 / 0.5977 GB, free: 6.012 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.4914, allocations: 0 / 0.5977 GB, free: 6.012 MB / 394.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.0002827/0.4916, allocations: 344.3 kB / 0.5981 GB, free: 5.625 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.4917, allocations: 19.95 kB / 0.5981 GB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.4918, allocations: 0 / 0.5981 GB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.4919, allocations: 170 kB / 0.5982 GB, free: 5.402 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.4919, allocations: 0 / 0.5982 GB, free: 5.402 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.4919, allocations: 4 kB / 0.5983 GB, free: 5.398 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.338e-05/0.492, allocations: 29.7 kB / 0.5983 GB, free: 5.363 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.492, allocations: 0 / 0.5983 GB, free: 5.363 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.492, allocations: 0 / 0.5983 GB, free: 5.363 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4921, allocations: 0 / 0.5983 GB, free: 5.363 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.045e-05/0.4921, allocations: 4 kB / 0.5983 GB, free: 5.359 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001511/0.4922, allocations: 152.2 kB / 0.5984 GB, free: 5.164 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.94e-05/0.4923, allocations: 22.52 kB / 0.5984 GB, free: 5.133 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.482e-05/0.4923, allocations: 12.89 kB / 0.5985 GB, free: 5.117 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.4923, allocations: 0 / 0.5985 GB, free: 5.117 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.4924, allocations: 56.27 kB / 0.5985 GB, free: 5.047 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.4924, allocations: 0 / 0.5985 GB, free: 5.047 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001789/0.4926, allocations: 70.69 kB / 0.5986 GB, free: 4.969 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.4926, allocations: 77.11 kB / 0.5987 GB, free: 4.875 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.611e-05/0.4927, allocations: 93.03 kB / 0.5987 GB, free: 4.777 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.4928, allocations: 25.7 kB / 0.5988 GB, free: 4.746 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.4928, allocations: 80.14 kB / 0.5988 GB, free: 4.664 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.4928, allocations: 0 / 0.5988 GB, free: 4.664 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/0.4928, allocations: 0 / 0.5988 GB, free: 4.664 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.493, allocations: 314.7 kB / 0.5991 GB, free: 4.352 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.186e-05/0.493, allocations: 7.938 kB / 0.5992 GB, free: 4.344 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.079e-06/0.493, allocations: 0 / 0.5992 GB, free: 4.344 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.803e-05/0.493, allocations: 29.89 kB / 0.5992 GB, free: 4.309 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.493, allocations: 3.953 kB / 0.5992 GB, free: 4.305 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.453e-05/0.4931, allocations: 63.39 kB / 0.5992 GB, free: 4.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.4932, allocations: 35.11 kB / 0.5993 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.4932, allocations: 0 / 0.5993 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.4932, allocations: 0 / 0.5993 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.4932, allocations: 0 / 0.5993 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.4932, allocations: 3.938 kB / 0.5993 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.128e-05/0.4932, allocations: 0 / 0.5993 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.4932, allocations: 4 kB / 0.5993 GB, free: 4.184 MB / 394.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 () * 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 8.294e-05/0.4933, allocations: 139.8 kB / 0.5994 GB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.4933, allocations: 3.953 kB / 0.5994 GB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.86e-05/0.4934, allocations: 11.06 kB / 0.5994 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4934, allocations: 4 kB / 0.5994 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4934, allocations: 0 / 0.5994 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.4934, allocations: 0 / 0.5994 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.4935, allocations: 149.6 kB / 0.5996 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4935, allocations: 0 / 0.5996 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.414e-06/0.4935, allocations: 3.953 kB / 0.5996 GB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.4935, allocations: 4 kB / 0.5996 GB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.4935, allocations: 4 kB / 0.5996 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.4935, allocations: 0 / 0.5996 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4936, allocations: 3.938 kB / 0.5996 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.4937, allocations: 90.27 kB / 0.5997 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.4937, allocations: 77.11 kB / 0.5998 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.4937, allocations: 7.953 kB / 0.5998 GB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-06/0.4937, allocations: 0 / 0.5998 GB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.166e-05/0.4938, allocations: 8.031 kB / 0.5998 GB, free: 3.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.4938, allocations: 0 / 0.5998 GB, free: 3.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.947e-05/0.4938, allocations: 77.97 kB / 0.5998 GB, free: 3.516 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4938, allocations: 0 / 0.5998 GB, free: 3.516 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002091/0.494, allocations: 23.98 kB / 0.5999 GB, free: 3.492 MB / 394.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) * 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.0003817/0.4944, allocations: 188.2 kB / 0.6 GB, free: 3.324 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.347e-05/0.4945, allocations: 58.53 kB / 0.6001 GB, free: 3.258 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4945, allocations: 0 / 0.6001 GB, free: 3.258 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.289e-05/0.4946, allocations: 59.47 kB / 0.6002 GB, free: 3.188 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.232e-05/0.4947, allocations: 1.25 kB / 0.6002 GB, free: 3.188 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001492/0.4948, allocations: 53.84 kB / 0.6002 GB, free: 3.117 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.4951, allocations: 0.6692 MB / 0.6009 GB, free: 2.422 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.2e-06/0.4951, allocations: 0 / 0.6009 GB, free: 2.422 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.091e-05/0.4951, allocations: 11.44 kB / 0.6009 GB, free: 2.41 MB / 394.7 MB Notification: Performance of SimCode: time 1.423e-06/0.4951, allocations: 0 / 0.6009 GB, free: 2.41 MB / 394.7 MB Notification: Performance of Templates: time 0.002465/0.4976, allocations: 0.6195 MB / 0.6015 GB, free: 1.805 MB / 394.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