Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00148/0.00148, allocations: 181.2 kB / 16.4 MB, free: 5.723 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.943/1.943, 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.001209/0.001209, allocations: 93.3 kB / 270.9 MB, free: 8.367 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.512/0.512, allocations: 43.55 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006223/0.0006223, allocations: 15.98 kB / 431.4 MB, free: 5.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1263, allocations: 58.84 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4586/0.585, allocations: 87.29 MB / 0.564 GB, free: 15.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003918/0.5855, allocations: 67.97 kB / 0.564 GB, free: 15.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0361/0.6216, allocations: 8.112 MB / 0.572 GB, free: 7.102 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6216, allocations: 0 / 0.572 GB, free: 7.102 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.518e-05/0.6217, allocations: 7.75 kB / 0.572 GB, free: 7.098 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.000927/0.6226, allocations: 0.6287 MB / 0.5726 GB, free: 6.422 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.6227, allocations: 16.02 kB / 0.5726 GB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.969e-05/0.6228, allocations: 39.44 kB / 0.5726 GB, free: 6.367 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006361/0.6235, allocations: 327.9 kB / 0.5729 GB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.6235, allocations: 4 kB / 0.5729 GB, free: 6.004 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.6236, allocations: 8 kB / 0.5729 GB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.6238, allocations: 58.64 kB / 0.573 GB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.6238, allocations: 4.562 kB / 0.573 GB, free: 5.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.6238, allocations: 4 kB / 0.573 GB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.6238, allocations: 0 / 0.573 GB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.624, allocations: 31.94 kB / 0.573 GB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008832/0.6249, allocations: 448.8 kB / 0.5735 GB, free: 5.406 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.6252, allocations: 50.5 kB / 0.5735 GB, free: 5.348 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.6252, allocations: 3.828 kB / 0.5735 GB, free: 5.348 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.6253, allocations: 38.58 kB / 0.5736 GB, free: 5.301 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.743e-06/0.6253, allocations: 0 / 0.5736 GB, free: 5.301 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009899/0.6263, allocations: 264.1 kB / 0.5738 GB, free: 5.035 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.6263, allocations: 51.41 kB / 0.5739 GB, free: 4.973 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/0.6283, allocations: 0.794 MB / 0.5746 GB, free: 4.172 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.6284, allocations: 25.7 kB / 0.5747 GB, free: 4.141 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.6286, allocations: 238.6 kB / 0.5749 GB, free: 3.906 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.6287, allocations: 19.73 kB / 0.5749 GB, free: 3.887 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.497e-06/0.6287, allocations: 4 kB / 0.5749 GB, free: 3.883 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6288, allocations: 310.8 kB / 0.5752 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.629, allocations: 27.98 kB / 0.5752 GB, free: 3.543 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.6292, allocations: 23.98 kB / 0.5753 GB, free: 3.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.6293, allocations: 28.17 kB / 0.5753 GB, free: 3.492 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.6293, allocations: 0 / 0.5753 GB, free: 3.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003543/0.6297, allocations: 101.6 kB / 0.5754 GB, free: 3.387 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.6297, allocations: 7.953 kB / 0.5754 GB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.6297, allocations: 0.8594 kB / 0.5754 GB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.6298, allocations: 0 / 0.5754 GB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.6299, allocations: 15.98 kB / 0.5754 GB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.6299, allocations: 0 / 0.5754 GB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.6301, allocations: 12 kB / 0.5754 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.6301, allocations: 0 / 0.5754 GB, free: 3.352 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.0003013/0.6304, allocations: 213.8 kB / 0.5756 GB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.6305, allocations: 43.44 kB / 0.5757 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004801/0.631, allocations: 157.6 kB / 0.5758 GB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.631, allocations: 0.75 kB / 0.5758 GB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.631, allocations: 4 kB / 0.5758 GB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.6311, allocations: 0 / 0.5758 GB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.6324, allocations: 0.596 MB / 0.5764 GB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6324, allocations: 3.938 kB / 0.5764 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.6325, allocations: 19.94 kB / 0.5764 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.6325, allocations: 0 / 0.5764 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.6325, allocations: 0 / 0.5764 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6326, allocations: 7.875 kB / 0.5764 GB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.6326, allocations: 4 kB / 0.5764 GB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004579/0.633, allocations: 223 kB / 0.5766 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.6333, allocations: 164.5 kB / 0.5768 GB, free: 1.824 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/0.6334, allocations: 8.203 kB / 0.5768 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.6336, allocations: 8 kB / 0.5768 GB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.6336, allocations: 7.984 kB / 0.5768 GB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.6336, allocations: 0 / 0.5768 GB, free: 1.801 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0012/0.6349, allocations: 0.6472 MB / 0.5775 GB, free: 1.156 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.464e-06/0.6349, allocations: 0 / 0.5775 GB, free: 1.156 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004151/0.6353, allocations: 55.94 kB / 0.5775 GB, free: 1.102 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.001195/0.6365, allocations: 400.2 kB / 0.5779 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003365/0.6369, allocations: 71.89 kB / 0.578 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6369, allocations: 0 / 0.578 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.637, allocations: 31.92 kB / 0.578 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.6374, allocations: 30.28 kB / 0.578 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.6395, allocations: 0.9641 MB / 0.579 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005784/0.6401, allocations: 0.834 MB / 0.5798 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.6402, allocations: 23.42 kB / 0.5798 GB, free: 14.8 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6402, allocations: 0 / 0.5798 GB, free: 14.8 MB / 410.7 MB Notification: Performance of Templates: time 0.01252/0.6528, allocations: 4.295 MB / 0.584 GB, free: 10.49 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches