Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00148/0.001481, allocations: 186.7 kB / 16.4 MB, free: 5.75 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.931/1.931, 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.001102/0.001102, allocations: 91.56 kB / 270.9 MB, free: 8.375 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.5393/0.5393, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004587/0.0004588, allocations: 8 kB / 431.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1226, allocations: 58.85 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.456/0.5787, allocations: 87.25 MB / 0.5639 GB, free: 15.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/0.5791, allocations: 67.97 kB / 0.564 GB, free: 15.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02993/0.6091, allocations: 7.832 MB / 0.5716 GB, free: 7.422 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.6091, allocations: 0 / 0.5716 GB, free: 7.422 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.963e-05/0.6092, allocations: 4 kB / 0.5717 GB, free: 7.418 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001004/0.6102, allocations: 0.6365 MB / 0.5723 GB, free: 6.734 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.6103, allocations: 16.02 kB / 0.5723 GB, free: 6.719 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.6104, allocations: 39.44 kB / 0.5723 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007141/0.6111, allocations: 323.9 kB / 0.5726 GB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.6111, allocations: 8.844 kB / 0.5726 GB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.6112, allocations: 4 kB / 0.5726 GB, free: 6.312 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.6114, allocations: 58.7 kB / 0.5727 GB, free: 6.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.6115, allocations: 8.438 kB / 0.5727 GB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.6115, allocations: 0 / 0.5727 GB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.6115, allocations: 0 / 0.5727 GB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.6117, allocations: 35.88 kB / 0.5727 GB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009601/0.6127, allocations: 449.3 kB / 0.5732 GB, free: 5.719 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.613, allocations: 54.42 kB / 0.5732 GB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.613, allocations: 3.188 kB / 0.5732 GB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.6131, allocations: 38.52 kB / 0.5733 GB, free: 5.609 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.485e-06/0.6131, allocations: 0 / 0.5733 GB, free: 5.609 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.001023/0.6141, allocations: 256 kB / 0.5735 GB, free: 5.352 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.6142, allocations: 51.41 kB / 0.5736 GB, free: 5.289 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/0.6162, allocations: 0.794 MB / 0.5743 GB, free: 4.488 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.6163, allocations: 25.7 kB / 0.5744 GB, free: 4.457 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.6165, allocations: 238.6 kB / 0.5746 GB, free: 4.223 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.6165, allocations: 15.75 kB / 0.5746 GB, free: 4.207 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-06/0.6166, allocations: 4 kB / 0.5746 GB, free: 4.203 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6167, allocations: 319 kB / 0.5749 GB, free: 3.883 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.6169, allocations: 27.98 kB / 0.5749 GB, free: 3.855 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.617, allocations: 26.23 kB / 0.575 GB, free: 3.832 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.6172, allocations: 23.98 kB / 0.575 GB, free: 3.809 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6172, allocations: 0 / 0.575 GB, free: 3.809 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000355/0.6176, allocations: 97.59 kB / 0.5751 GB, free: 3.707 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.6176, allocations: 7.953 kB / 0.5751 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.6176, allocations: 0 / 0.5751 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.6176, allocations: 0 / 0.5751 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.6178, allocations: 12 kB / 0.5751 GB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.6178, allocations: 3.984 kB / 0.5751 GB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.618, allocations: 12 kB / 0.5751 GB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.618, allocations: 0 / 0.5751 GB, free: 3.672 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.0003474/0.6184, allocations: 213.8 kB / 0.5753 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.6185, allocations: 43.44 kB / 0.5754 GB, free: 3.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005503/0.6191, allocations: 161.6 kB / 0.5755 GB, free: 3.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.6191, allocations: 4 kB / 0.5755 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6191, allocations: 0 / 0.5755 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.6191, allocations: 0 / 0.5755 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.6205, allocations: 0.6 MB / 0.5761 GB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.6205, allocations: 0 / 0.5761 GB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.6206, allocations: 15.95 kB / 0.5761 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.6207, allocations: 0 / 0.5761 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.6207, allocations: 0 / 0.5761 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.106e-06/0.6207, allocations: 8.672 kB / 0.5761 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6207, allocations: 4 kB / 0.5761 GB, free: 2.562 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004881/0.6212, allocations: 230.9 kB / 0.5763 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002789/0.6215, allocations: 160.5 kB / 0.5765 GB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.709e-05/0.6216, allocations: 7.953 kB / 0.5765 GB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.6218, allocations: 7.984 kB / 0.5765 GB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.6218, allocations: 4 kB / 0.5765 GB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.6218, allocations: 4 kB / 0.5765 GB, free: 2.121 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001296/0.6231, allocations: 0.6479 MB / 0.5772 GB, free: 1.477 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6232, allocations: 0 / 0.5772 GB, free: 1.477 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004652/0.6237, allocations: 52 kB / 0.5772 GB, free: 1.426 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.001193/0.6249, allocations: 410.3 kB / 0.5776 GB, free: 1.113 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003966/0.6253, allocations: 63.91 kB / 0.5777 GB, free: 1.051 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.6253, allocations: 0 / 0.5777 GB, free: 1.051 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.6255, allocations: 35.97 kB / 0.5777 GB, free: 1.016 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.6259, allocations: 18.31 kB / 0.5777 GB, free: 1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.6281, allocations: 0.9677 MB / 0.5787 GB, free: 4 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005724/0.6287, allocations: 0.8342 MB / 0.5795 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.6288, allocations: 15.44 kB / 0.5795 GB, free: 15.13 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6288, allocations: 3.938 kB / 0.5795 GB, free: 15.12 MB / 410.7 MB Notification: Performance of Templates: time 0.01201/0.6409, allocations: 4.299 MB / 0.5837 GB, free: 10.81 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches