Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3,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.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002081/0.002081, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.988/1.988, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001066/0.001066, allocations: 78.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2717/0.2717, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.827e-05/2.842e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1151, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4952/0.6104, allocations: 86.28 MB / 0.5571 GB, free: 1.293 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.6107, allocations: 82.77 kB / 0.5571 GB, free: 1.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0166/0.6273, allocations: 3.84 MB / 0.5609 GB, free: 13.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.6274, allocations: 0 / 0.5609 GB, free: 13.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.172e-05/0.6274, allocations: 0 / 0.5609 GB, free: 13.98 MB / 378.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.0005829/0.628, allocations: 390 kB / 0.5613 GB, free: 13.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.27e-05/0.6281, allocations: 8.031 kB / 0.5613 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.993e-05/0.6282, allocations: 7.906 kB / 0.5613 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.6286, allocations: 201.2 kB / 0.5615 GB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.6287, allocations: 7.938 kB / 0.5615 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.6287, allocations: 0 / 0.5615 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.6289, allocations: 37.86 kB / 0.5615 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.6289, allocations: 0 / 0.5615 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.6289, allocations: 0 / 0.5615 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.629, allocations: 3.984 kB / 0.5615 GB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.793e-05/0.6291, allocations: 19.73 kB / 0.5615 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005842/0.6297, allocations: 287.9 kB / 0.5618 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.63, allocations: 34.52 kB / 0.5618 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.481e-05/0.63, allocations: 16.88 kB / 0.5618 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.6301, allocations: 0 / 0.5618 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.6301, allocations: 42.56 kB / 0.5619 GB, free: 12.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.645e-06/0.6301, allocations: 3.938 kB / 0.5619 GB, free: 12.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006645/0.6308, allocations: 104.7 kB / 0.562 GB, free: 12.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.6309, allocations: 55.36 kB / 0.562 GB, free: 12.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003716/0.6313, allocations: 176.6 kB / 0.5622 GB, free: 12.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.6313, allocations: 29.7 kB / 0.5622 GB, free: 12.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.6315, allocations: 162.2 kB / 0.5624 GB, free: 12.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.6315, allocations: 27.53 kB / 0.5624 GB, free: 12.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-06/0.6315, allocations: 0 / 0.5624 GB, free: 12.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.6317, allocations: 310.8 kB / 0.5627 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-05/0.6318, allocations: 7.75 kB / 0.5627 GB, free: 11.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.03e-05/0.6318, allocations: 11.44 kB / 0.5627 GB, free: 11.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.427e-05/0.6319, allocations: 11.86 kB / 0.5627 GB, free: 11.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6319, allocations: 0 / 0.5627 GB, free: 11.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002335/0.6322, allocations: 57.25 kB / 0.5628 GB, free: 11.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.6322, allocations: 7.938 kB / 0.5628 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.6323, allocations: 0 / 0.5628 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.6323, allocations: 4 kB / 0.5628 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.6325, allocations: 12.25 kB / 0.5628 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.6325, allocations: 0 / 0.5628 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.6326, allocations: 19.94 kB / 0.5628 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.6327, allocations: 3.938 kB / 0.5629 GB, free: 11.86 MB / 378.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 () * 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.0001079/0.6328, allocations: 104.9 kB / 0.563 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.732e-05/0.6329, allocations: 11.91 kB / 0.563 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.6332, allocations: 73.14 kB / 0.563 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.6332, allocations: 0 / 0.563 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.6332, allocations: 4 kB / 0.563 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.6332, allocations: 0 / 0.563 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007312/0.634, allocations: 349 kB / 0.5634 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.634, allocations: 0 / 0.5634 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.6342, allocations: 8 kB / 0.5634 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.6342, allocations: 8 kB / 0.5634 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.6342, allocations: 3.984 kB / 0.5634 GB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.6342, allocations: 0 / 0.5634 GB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.6343, allocations: 3.953 kB / 0.5634 GB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.6345, allocations: 163 kB / 0.5635 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.6347, allocations: 88.92 kB / 0.5636 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.6347, allocations: 0 / 0.5636 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.6349, allocations: 19.8 kB / 0.5636 GB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.635, allocations: 0 / 0.5636 GB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.635, allocations: 7.953 kB / 0.5637 GB, free: 10.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002562/0.6353, allocations: 150.1 kB / 0.5638 GB, free: 10.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.6353, allocations: 0 / 0.5638 GB, free: 10.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005833/0.6359, allocations: 19.94 kB / 0.5638 GB, free: 10.84 MB / 378.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 () * 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.001577/0.6375, allocations: 370.8 kB / 0.5642 GB, free: 10.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.6377, allocations: 27.56 kB / 0.5642 GB, free: 10.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6377, allocations: 4 kB / 0.5642 GB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.822e-05/0.6378, allocations: 19.94 kB / 0.5642 GB, free: 10.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.6383, allocations: 15.86 kB / 0.5642 GB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006339/0.6389, allocations: 170.2 kB / 0.5644 GB, free: 10.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/0.6394, allocations: 0.7068 MB / 0.5651 GB, free: 9.566 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.905e-05/0.6395, allocations: 11.44 kB / 0.5651 GB, free: 9.555 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6395, allocations: 0 / 0.5651 GB, free: 9.555 MB / 378.7 MB Notification: Performance of Templates: time 0.006414/0.6459, allocations: 1.52 MB / 0.5666 GB, free: 8.043 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches