Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002153/0.002153, allocations: 179.4 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.987/1.987, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001164/0.001163, allocations: 83.53 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2872/0.2872, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.659e-05/1.651e-05, allocations: 224 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4116, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.5939, allocations: 83.81 MB / 0.5477 GB, free: 15.52 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.5943, allocations: 63.97 kB / 0.5478 GB, free: 15.46 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.006182/0.6005, allocations: 1.616 MB / 0.5494 GB, free: 13.84 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6005, allocations: 0 / 0.5494 GB, free: 13.84 MB / 395.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.6005, allocations: 4 kB / 0.5494 GB, free: 13.84 MB / 395.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.00034/0.6009, allocations: 351.2 kB / 0.5497 GB, free: 13.45 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.6009, allocations: 8.031 kB / 0.5497 GB, free: 13.44 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.601, allocations: 0 / 0.5497 GB, free: 13.44 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.6011, allocations: 163 kB / 0.5499 GB, free: 13.24 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.6012, allocations: 4 kB / 0.5499 GB, free: 13.23 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.6012, allocations: 0 / 0.5499 GB, free: 13.23 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.645e-05/0.6012, allocations: 0 / 0.5499 GB, free: 13.23 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.433e-05/0.6013, allocations: 45.62 kB / 0.5499 GB, free: 13.18 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.6013, allocations: 0 / 0.5499 GB, free: 13.18 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.6013, allocations: 0 / 0.5499 GB, free: 13.18 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.6013, allocations: 0 / 0.5499 GB, free: 13.18 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.6015, allocations: 126.2 kB / 0.55 GB, free: 13.02 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.775e-05/0.6015, allocations: 18.61 kB / 0.5501 GB, free: 13 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.63e-05/0.6016, allocations: 4.859 kB / 0.5501 GB, free: 12.99 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.6016, allocations: 0 / 0.5501 GB, free: 12.99 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.124e-05/0.6017, allocations: 64.25 kB / 0.5501 GB, free: 12.91 MB / 395.1 MB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/0.6017, allocations: 0 / 0.5501 GB, free: 12.91 MB / 395.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001889/0.6019, allocations: 41.7 kB / 0.5502 GB, free: 12.86 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.6019, allocations: 77.11 kB / 0.5502 GB, free: 12.77 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.156e-05/0.602, allocations: 85 kB / 0.5503 GB, free: 12.68 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.602, allocations: 29.7 kB / 0.5504 GB, free: 12.64 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.6021, allocations: 150.6 kB / 0.5505 GB, free: 12.5 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.6021, allocations: 4.156 kB / 0.5505 GB, free: 12.49 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-06/0.6022, allocations: 0 / 0.5505 GB, free: 12.49 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.6023, allocations: 315.4 kB / 0.5508 GB, free: 12.18 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.829e-06/0.6023, allocations: 0 / 0.5508 GB, free: 12.18 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.065e-05/0.6023, allocations: 6.469 kB / 0.5508 GB, free: 12.17 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.747e-05/0.6024, allocations: 0 / 0.5508 GB, free: 12.17 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6024, allocations: 0 / 0.5508 GB, free: 12.17 MB / 395.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.714e-05/0.6025, allocations: 45.59 kB / 0.5509 GB, free: 12.12 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.16e-05/0.6026, allocations: 33.69 kB / 0.5509 GB, free: 12.08 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.6026, allocations: 4.094 kB / 0.5509 GB, free: 12.08 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.6026, allocations: 3.938 kB / 0.5509 GB, free: 12.07 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.833e-06/0.6026, allocations: 4 kB / 0.5509 GB, free: 12.07 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.6026, allocations: 3.938 kB / 0.5509 GB, free: 12.07 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/0.6027, allocations: 0 / 0.5509 GB, free: 12.07 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.6027, allocations: 0 / 0.5509 GB, free: 12.07 MB / 395.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 () * 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 0.0001018/0.6028, allocations: 130.7 kB / 0.551 GB, free: 11.93 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.6028, allocations: 3.953 kB / 0.551 GB, free: 11.92 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.598e-05/0.6028, allocations: 3.75 kB / 0.551 GB, free: 11.92 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.6029, allocations: 4 kB / 0.551 GB, free: 11.91 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.6029, allocations: 0 / 0.551 GB, free: 11.91 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.6029, allocations: 3.984 kB / 0.551 GB, free: 11.91 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.725e-05/0.603, allocations: 126.2 kB / 0.5512 GB, free: 11.75 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.603, allocations: 0 / 0.5512 GB, free: 11.75 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-06/0.603, allocations: 0 / 0.5512 GB, free: 11.75 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.603, allocations: 4 kB / 0.5512 GB, free: 11.75 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.603, allocations: 0 / 0.5512 GB, free: 11.75 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.6031, allocations: 3.953 kB / 0.5512 GB, free: 11.74 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.6031, allocations: 0 / 0.5512 GB, free: 11.74 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.6032, allocations: 69.12 kB / 0.5512 GB, free: 11.66 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.6033, allocations: 77.11 kB / 0.5513 GB, free: 11.56 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.6033, allocations: 0 / 0.5513 GB, free: 11.56 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.429e-05/0.6033, allocations: 7.984 kB / 0.5513 GB, free: 11.55 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.359e-05/0.6033, allocations: 7.938 kB / 0.5513 GB, free: 11.55 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.6034, allocations: 3.938 kB / 0.5513 GB, free: 11.54 MB / 395.1 MB Notification: Performance of sorting global known variables: time 4.157e-05/0.6034, allocations: 79.28 kB / 0.5514 GB, free: 11.46 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6034, allocations: 4.125 kB / 0.5514 GB, free: 11.46 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0002998/0.6037, allocations: 23.98 kB / 0.5514 GB, free: 11.44 MB / 395.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) * 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.0004851/0.6042, allocations: 188.7 kB / 0.5516 GB, free: 11.25 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001/0.6043, allocations: 59.39 kB / 0.5517 GB, free: 11.18 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6044, allocations: 0 / 0.5517 GB, free: 11.18 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.548e-05/0.6044, allocations: 59.41 kB / 0.5517 GB, free: 11.11 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.6046, allocations: 0 / 0.5517 GB, free: 11.11 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001618/0.6047, allocations: 65.78 kB / 0.5518 GB, free: 11.02 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.605, allocations: 0.6808 MB / 0.5524 GB, free: 10.31 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.423e-05/0.605, allocations: 11.44 kB / 0.5525 GB, free: 10.3 MB / 395.1 MB Notification: Performance of SimCode: time 8.21e-07/0.6051, allocations: 0 / 0.5525 GB, free: 10.3 MB / 395.1 MB Notification: Performance of Templates: time 0.003171/0.6082, allocations: 0.8296 MB / 0.5533 GB, free: 9.469 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches