Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009759/0.0009757, allocations: 194.4 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 226.5 MB / 244.1 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007609/0.0007615, allocations: 106.2 kB / 296.1 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3589/0.3589, allocations: 44.82 MB / 393 MB, free: 35.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.0002912, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3593, allocations: 62.95 MB / 0.5165 GB, free: 37.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1235/0.4828, allocations: 89.87 MB / 0.6042 GB, free: 15.49 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.483, allocations: 75.97 kB / 0.6043 GB, free: 15.42 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01355/0.4966, allocations: 5.367 MB / 0.6096 GB, free: 10.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4967, allocations: 0 / 0.6096 GB, free: 10.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.4967, allocations: 3.984 kB / 0.6096 GB, free: 10.04 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005378/0.4972, allocations: 435.3 kB / 0.61 GB, free: 9.559 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.4973, allocations: 8.875 kB / 0.61 GB, free: 9.551 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.4973, allocations: 8.844 kB / 0.61 GB, free: 9.543 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.4975, allocations: 212.9 kB / 0.6102 GB, free: 9.297 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.4976, allocations: 12.31 kB / 0.6102 GB, free: 9.285 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.4976, allocations: 4.375 kB / 0.6102 GB, free: 9.281 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.4978, allocations: 66.23 kB / 0.6103 GB, free: 9.211 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.4978, allocations: 4.094 kB / 0.6103 GB, free: 9.207 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.4978, allocations: 3.938 kB / 0.6103 GB, free: 9.203 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.4978, allocations: 0 / 0.6103 GB, free: 9.203 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.4979, allocations: 59.89 kB / 0.6103 GB, free: 9.145 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.4983, allocations: 304.7 kB / 0.6106 GB, free: 8.797 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.4986, allocations: 62.55 kB / 0.6107 GB, free: 8.727 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.929e-05/0.4987, allocations: 28.97 kB / 0.6107 GB, free: 8.695 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.4987, allocations: 4.031 kB / 0.6107 GB, free: 8.691 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.4987, allocations: 34.56 kB / 0.6108 GB, free: 8.648 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.4987, allocations: 0 / 0.6108 GB, free: 8.648 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001389/0.5001, allocations: 468.8 kB / 0.6112 GB, free: 8.184 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.5002, allocations: 51.41 kB / 0.6112 GB, free: 8.121 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.5004, allocations: 182.8 kB / 0.6114 GB, free: 7.934 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.5004, allocations: 29.69 kB / 0.6115 GB, free: 7.898 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.5005, allocations: 100.1 kB / 0.6115 GB, free: 7.797 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.5005, allocations: 39.45 kB / 0.6116 GB, free: 7.758 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.5005, allocations: 4 kB / 0.6116 GB, free: 7.754 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5006, allocations: 318.8 kB / 0.6119 GB, free: 7.434 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.5008, allocations: 55.97 kB / 0.6119 GB, free: 7.379 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.5009, allocations: 47.97 kB / 0.612 GB, free: 7.332 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.5011, allocations: 126.2 kB / 0.6121 GB, free: 7.207 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.5012, allocations: 0 / 0.6121 GB, free: 7.207 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002982/0.5015, allocations: 158.7 kB / 0.6123 GB, free: 7.047 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.5015, allocations: 4 kB / 0.6123 GB, free: 7.043 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-06/0.5015, allocations: 0 / 0.6123 GB, free: 7.043 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.5015, allocations: 0 / 0.6123 GB, free: 7.043 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.5016, allocations: 32.55 kB / 0.6123 GB, free: 7.012 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.5016, allocations: 4 kB / 0.6123 GB, free: 7.008 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.306e-05/0.5017, allocations: 23.86 kB / 0.6123 GB, free: 6.984 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.5017, allocations: 7.938 kB / 0.6123 GB, free: 6.977 MB / 426.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 (11): * Single equations (assignments): 11 * 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 8.894e-05/0.5018, allocations: 125.8 kB / 0.6125 GB, free: 6.844 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.5019, allocations: 11.91 kB / 0.6125 GB, free: 6.832 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003625/0.5022, allocations: 174.3 kB / 0.6126 GB, free: 6.656 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5022, allocations: 0 / 0.6126 GB, free: 6.656 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5023, allocations: 0 / 0.6126 GB, free: 6.656 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.5023, allocations: 7.938 kB / 0.6126 GB, free: 6.648 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006458/0.5029, allocations: 496 kB / 0.6131 GB, free: 6.102 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.5029, allocations: 4 kB / 0.6131 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.742e-05/0.503, allocations: 35.86 kB / 0.6131 GB, free: 6.062 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.503, allocations: 0 / 0.6131 GB, free: 6.062 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.5031, allocations: 7.984 kB / 0.6132 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5031, allocations: 4 kB / 0.6132 GB, free: 6.051 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5031, allocations: 4.062 kB / 0.6132 GB, free: 6.047 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.5034, allocations: 261.7 kB / 0.6134 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.5035, allocations: 104.9 kB / 0.6135 GB, free: 5.648 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.5035, allocations: 3.938 kB / 0.6135 GB, free: 5.645 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.632e-05/0.5036, allocations: 19.98 kB / 0.6135 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.5037, allocations: 7.984 kB / 0.6135 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.5037, allocations: 8 kB / 0.6136 GB, free: 5.609 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.5038, allocations: 137.4 kB / 0.6137 GB, free: 5.477 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5038, allocations: 0 / 0.6137 GB, free: 5.477 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002596/0.5041, allocations: 31.94 kB / 0.6137 GB, free: 5.445 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009882/0.5051, allocations: 469.6 kB / 0.6142 GB, free: 5.141 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003141/0.5054, allocations: 119.9 kB / 0.6143 GB, free: 5.023 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5054, allocations: 0 / 0.6143 GB, free: 5.023 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.5055, allocations: 71.89 kB / 0.6143 GB, free: 4.953 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.5059, allocations: 23.92 kB / 0.6144 GB, free: 4.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.5064, allocations: 328.3 kB / 0.6147 GB, free: 4.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.5066, allocations: 0.7083 MB / 0.6154 GB, free: 3.836 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.5067, allocations: 23.42 kB / 0.6154 GB, free: 3.816 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5067, allocations: 0 / 0.6154 GB, free: 3.816 MB / 426.7 MB Notification: Performance of Templates: time 0.003372/0.5101, allocations: 1.956 MB / 0.6173 GB, free: 1.863 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches