Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.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.Tables.CombiTable1D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24") translateModel(ModelicaTest.Tables.CombiTable1D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001489/0.001489, allocations: 184.8 kB / 16.4 MB, free: 5.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.95/1.95, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001107/0.001107, allocations: 103.2 kB / 270.9 MB, free: 8.371 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.5024/0.5024, allocations: 43.55 MB / 362.7 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.000485, allocations: 15.98 kB / 431.4 MB, free: 5.949 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1329, allocations: 58.85 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4556/0.5885, allocations: 86.74 MB / 0.5634 GB, free: 15.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.5888, allocations: 71.97 kB / 0.5635 GB, free: 15.76 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01771/0.6066, allocations: 4.316 MB / 0.5677 GB, free: 11.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.6066, allocations: 0 / 0.5677 GB, free: 11.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.6066, allocations: 4 kB / 0.5677 GB, free: 11.48 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004844/0.6071, allocations: 379.9 kB / 0.5681 GB, free: 11.06 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.6072, allocations: 15.95 kB / 0.5681 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.6073, allocations: 7.906 kB / 0.5681 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.6075, allocations: 202.3 kB / 0.5683 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.6075, allocations: 4 kB / 0.5683 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.6076, allocations: 0 / 0.5683 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.6078, allocations: 71.33 kB / 0.5684 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.6078, allocations: 0 / 0.5684 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.6078, allocations: 0 / 0.5684 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.6079, allocations: 0 / 0.5684 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.608, allocations: 29.02 kB / 0.5684 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.6085, allocations: 282 kB / 0.5687 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.6088, allocations: 50.5 kB / 0.5687 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.6088, allocations: 8 kB / 0.5687 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.6089, allocations: 30.56 kB / 0.5687 GB, free: 10.26 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.255e-06/0.6089, allocations: 0 / 0.5687 GB, free: 10.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008805/0.6098, allocations: 165.6 kB / 0.5689 GB, free: 10.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.6098, allocations: 81.11 kB / 0.569 GB, free: 9.996 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.61, allocations: 124.1 kB / 0.5691 GB, free: 9.871 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.6101, allocations: 33.7 kB / 0.5691 GB, free: 9.832 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/0.6101, allocations: 154.6 kB / 0.5693 GB, free: 9.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.6102, allocations: 19.73 kB / 0.5693 GB, free: 9.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.6102, allocations: 0 / 0.5693 GB, free: 9.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.6103, allocations: 318.8 kB / 0.5696 GB, free: 9.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.6105, allocations: 23.98 kB / 0.5696 GB, free: 9.316 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.6106, allocations: 37.69 kB / 0.5697 GB, free: 9.273 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.6108, allocations: 33.02 kB / 0.5697 GB, free: 9.242 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.6108, allocations: 0 / 0.5697 GB, free: 9.242 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003231/0.6111, allocations: 85.67 kB / 0.5698 GB, free: 9.152 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.6111, allocations: 4 kB / 0.5698 GB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.6112, allocations: 0 / 0.5698 GB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.6112, allocations: 4 kB / 0.5698 GB, free: 9.145 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.6113, allocations: 15.98 kB / 0.5698 GB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.6113, allocations: 5.438 kB / 0.5698 GB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.235e-05/0.6114, allocations: 11.98 kB / 0.5698 GB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.6115, allocations: 3.953 kB / 0.5698 GB, free: 9.109 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001082/0.6116, allocations: 113.8 kB / 0.5699 GB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.6116, allocations: 7.906 kB / 0.5699 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003944/0.612, allocations: 109.5 kB / 0.57 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.6121, allocations: 4 kB / 0.57 GB, free: 8.863 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.6121, allocations: 0 / 0.57 GB, free: 8.863 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.6121, allocations: 0 / 0.57 GB, free: 8.863 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006395/0.6127, allocations: 367.3 kB / 0.5704 GB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6127, allocations: 3.938 kB / 0.5704 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.6129, allocations: 11.98 kB / 0.5704 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.6129, allocations: 4 kB / 0.5704 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.6129, allocations: 384 / 0.5704 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.6129, allocations: 0 / 0.5704 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6129, allocations: 0 / 0.5704 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.6133, allocations: 199.4 kB / 0.5706 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.849e-05/0.6134, allocations: 89.02 kB / 0.5707 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.6134, allocations: 0 / 0.5707 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.6136, allocations: 15.98 kB / 0.5707 GB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.6136, allocations: 4.219 kB / 0.5707 GB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.6136, allocations: 7.938 kB / 0.5707 GB, free: 8.086 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001182/0.6138, allocations: 111.2 kB / 0.5708 GB, free: 7.977 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6138, allocations: 0 / 0.5708 GB, free: 7.977 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000376/0.6142, allocations: 27.97 kB / 0.5708 GB, free: 7.949 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.001263/0.6154, allocations: 456.5 kB / 0.5713 GB, free: 7.598 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003698/0.6158, allocations: 51.97 kB / 0.5713 GB, free: 7.547 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6159, allocations: 0 / 0.5713 GB, free: 7.547 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.616, allocations: 39.91 kB / 0.5714 GB, free: 7.508 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.6163, allocations: 12 kB / 0.5714 GB, free: 7.496 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005405/0.6169, allocations: 204.8 kB / 0.5716 GB, free: 7.266 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.6172, allocations: 0.6965 MB / 0.5723 GB, free: 6.543 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.575e-05/0.6173, allocations: 19.42 kB / 0.5723 GB, free: 6.527 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6173, allocations: 0 / 0.5723 GB, free: 6.527 MB / 394.7 MB Notification: Performance of Templates: time 0.004859/0.6221, allocations: 1.608 MB / 0.5738 GB, free: 4.918 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches