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.001129/0.001129, allocations: 181.9 kB / 17.41 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.4 MB / 223.6 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 101.2 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.7627/0.7627, allocations: 43.56 MB / 363.8 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007257/0.000726, allocations: 12 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2171, allocations: 58.86 MB / 491.4 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6017/0.8189, allocations: 84.58 MB / 0.5625 GB, free: 1.816 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.8192, allocations: 63.97 kB / 0.5626 GB, free: 1.754 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006106/0.8254, allocations: 1.917 MB / 0.5645 GB, free: 15.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.649e-06/0.8255, allocations: 0 / 0.5645 GB, free: 15.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.8255, allocations: 0 / 0.5645 GB, free: 15.85 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.0006207/0.8261, allocations: 353.9 kB / 0.5648 GB, free: 15.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.754e-05/0.8262, allocations: 12.53 kB / 0.5648 GB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.8263, allocations: 0.9375 kB / 0.5648 GB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.8265, allocations: 168.4 kB / 0.565 GB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.8265, allocations: 384 / 0.565 GB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.8266, allocations: 4.312 kB / 0.565 GB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.8267, allocations: 34.25 kB / 0.565 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.8268, allocations: 192 / 0.565 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.8268, allocations: 3.938 kB / 0.565 GB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.8268, allocations: 0 / 0.565 GB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.737e-05/0.8268, allocations: 8 kB / 0.565 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.8271, allocations: 145.7 kB / 0.5652 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.064e-05/0.8272, allocations: 25.3 kB / 0.5652 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.976e-05/0.8272, allocations: 12.89 kB / 0.5652 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.8273, allocations: 0 / 0.5652 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.793e-05/0.8273, allocations: 56.27 kB / 0.5652 GB, free: 14.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.8274, allocations: 4 kB / 0.5653 GB, free: 14.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003037/0.8277, allocations: 64 kB / 0.5653 GB, free: 14.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.395e-05/0.8278, allocations: 81.09 kB / 0.5654 GB, free: 14.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.8279, allocations: 97.86 kB / 0.5655 GB, free: 14.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.8279, allocations: 25.7 kB / 0.5655 GB, free: 14.56 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.577e-05/0.828, allocations: 80.14 kB / 0.5656 GB, free: 14.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.828, allocations: 2.031 kB / 0.5656 GB, free: 14.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.828, allocations: 0 / 0.5656 GB, free: 14.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.8283, allocations: 320.6 kB / 0.5659 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.8283, allocations: 3.938 kB / 0.5659 GB, free: 14.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.834e-06/0.8283, allocations: 0 / 0.5659 GB, free: 14.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.11e-05/0.8284, allocations: 64.27 kB / 0.566 GB, free: 14.08 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.8284, allocations: 4.641 kB / 0.566 GB, free: 14.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001202/0.8286, allocations: 59.41 kB / 0.566 GB, free: 14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.671e-05/0.8286, allocations: 29.7 kB / 0.566 GB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.8286, allocations: 3.938 kB / 0.566 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.8287, allocations: 7.469 kB / 0.5661 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.751e-06/0.8287, allocations: 4 kB / 0.5661 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.8287, allocations: 0.6562 kB / 0.5661 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.961e-05/0.8287, allocations: 0 / 0.5661 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.8288, allocations: 0 / 0.5661 GB, free: 13.96 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 () * 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 0.0001486/0.8289, allocations: 143.5 kB / 0.5662 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.041e-05/0.8289, allocations: 0 / 0.5662 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/0.829, allocations: 11.06 kB / 0.5662 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.829, allocations: 6.562 kB / 0.5662 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.829, allocations: 4 kB / 0.5662 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.829, allocations: 3.984 kB / 0.5662 GB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.8292, allocations: 149.7 kB / 0.5664 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8292, allocations: 0 / 0.5664 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-06/0.8292, allocations: 0 / 0.5664 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.8292, allocations: 0 / 0.5664 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.8292, allocations: 3.938 kB / 0.5664 GB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8292, allocations: 0 / 0.5664 GB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.8292, allocations: 4 kB / 0.5664 GB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.8294, allocations: 90.83 kB / 0.5665 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.8294, allocations: 81.11 kB / 0.5665 GB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.8295, allocations: 3.938 kB / 0.5665 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.27e-05/0.8295, allocations: 0 / 0.5665 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.8295, allocations: 0 / 0.5665 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.8295, allocations: 0 / 0.5665 GB, free: 13.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.659e-05/0.8296, allocations: 83.22 kB / 0.5666 GB, free: 13.28 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8296, allocations: 0 / 0.5666 GB, free: 13.28 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004181/0.83, allocations: 28.11 kB / 0.5666 GB, free: 13.25 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) * 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.0005954/0.8306, allocations: 185.6 kB / 0.5668 GB, free: 13.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.8308, allocations: 63.39 kB / 0.5669 GB, free: 13.03 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.8308, allocations: 4 kB / 0.5669 GB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.69e-05/0.8309, allocations: 51.41 kB / 0.5669 GB, free: 12.96 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.8311, allocations: 4 kB / 0.5669 GB, free: 12.96 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.8314, allocations: 114.6 kB / 0.567 GB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.8318, allocations: 0.6731 MB / 0.5677 GB, free: 12.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.613e-05/0.8319, allocations: 7.438 kB / 0.5677 GB, free: 12.11 MB / 394.7 MB Notification: Performance of SimCode: time 5.11e-07/0.8319, allocations: 0 / 0.5677 GB, free: 12.11 MB / 394.7 MB Notification: Performance of Templates: time 0.003466/0.8354, allocations: 0.8176 MB / 0.5685 GB, free: 11.3 MB / 394.7 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