Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 183.1 kB / 15.76 MB, free: 6.367 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.667/1.667, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.00117/0.00117, allocations: 90.8 kB / 270.2 MB, free: 13.37 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.2154/0.2154, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.000334, allocations: 12 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1442, allocations: 58.85 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4246/0.5689, allocations: 87.13 MB / 0.5638 GB, free: 12.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004214/0.5695, allocations: 76.31 kB / 0.5639 GB, free: 12.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01727/0.5868, allocations: 7.874 MB / 0.5716 GB, free: 5.582 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.5868, allocations: 0 / 0.5716 GB, free: 5.582 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.408e-05/0.5869, allocations: 8 kB / 0.5716 GB, free: 5.574 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.0007122/0.5876, allocations: 0.6224 MB / 0.5722 GB, free: 4.922 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.5876, allocations: 8.031 kB / 0.5722 GB, free: 4.914 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.138e-05/0.5877, allocations: 47.39 kB / 0.5723 GB, free: 4.867 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005486/0.5883, allocations: 325.5 kB / 0.5726 GB, free: 4.523 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.5883, allocations: 0 / 0.5726 GB, free: 4.523 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.5883, allocations: 7.984 kB / 0.5726 GB, free: 4.516 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.5885, allocations: 56.23 kB / 0.5726 GB, free: 4.461 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.5885, allocations: 0 / 0.5726 GB, free: 4.461 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.5885, allocations: 0 / 0.5726 GB, free: 4.461 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.5885, allocations: 0 / 0.5726 GB, free: 4.461 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.905e-05/0.5886, allocations: 39.25 kB / 0.5727 GB, free: 4.426 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007133/0.5894, allocations: 433.6 kB / 0.5731 GB, free: 4.008 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.347e-05/0.5895, allocations: 38.19 kB / 0.5731 GB, free: 3.965 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.5895, allocations: 3.984 kB / 0.5731 GB, free: 3.961 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.5895, allocations: 34.56 kB / 0.5732 GB, free: 3.918 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5895, allocations: 0 / 0.5732 GB, free: 3.918 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003011/0.5899, allocations: 112.2 kB / 0.5733 GB, free: 3.809 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.5899, allocations: 55.41 kB / 0.5733 GB, free: 3.742 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.591, allocations: 0.787 MB / 0.5741 GB, free: 3.129 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.5911, allocations: 37.27 kB / 0.5741 GB, free: 3.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.5913, allocations: 217.2 kB / 0.5743 GB, free: 2.969 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.5913, allocations: 7.906 kB / 0.5743 GB, free: 2.961 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.5913, allocations: 0 / 0.5743 GB, free: 2.961 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.5914, allocations: 369.3 kB / 0.5747 GB, free: 2.609 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.304e-05/0.5915, allocations: 8 kB / 0.5747 GB, free: 2.602 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.754e-05/0.5915, allocations: 15.73 kB / 0.5747 GB, free: 2.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.445e-05/0.5916, allocations: 19.92 kB / 0.5747 GB, free: 2.574 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5916, allocations: 0 / 0.5747 GB, free: 2.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001504/0.5918, allocations: 89.16 kB / 0.5748 GB, free: 2.484 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.5918, allocations: 8 kB / 0.5748 GB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.5918, allocations: 0 / 0.5748 GB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.5918, allocations: 3.953 kB / 0.5748 GB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.555e-05/0.5919, allocations: 12.02 kB / 0.5748 GB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.5919, allocations: 0 / 0.5748 GB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.465e-05/0.592, allocations: 4 kB / 0.5748 GB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.592, allocations: 4 kB / 0.5749 GB, free: 2.453 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001841/0.5922, allocations: 212.2 kB / 0.5751 GB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.779e-05/0.5923, allocations: 47.38 kB / 0.5751 GB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.5925, allocations: 112 kB / 0.5752 GB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.5925, allocations: 0 / 0.5752 GB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.964e-06/0.5925, allocations: 3.953 kB / 0.5752 GB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.5925, allocations: 4 kB / 0.5752 GB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.5928, allocations: 319 kB / 0.5755 GB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.5928, allocations: 0 / 0.5755 GB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.5929, allocations: 15.98 kB / 0.5755 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.5929, allocations: 0 / 0.5755 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.5929, allocations: 0 / 0.5755 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5929, allocations: 0 / 0.5755 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5929, allocations: 4.031 kB / 0.5755 GB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.5931, allocations: 194.8 kB / 0.5757 GB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002538/0.5934, allocations: 159.9 kB / 0.5759 GB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.5934, allocations: 3.984 kB / 0.5759 GB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.254e-05/0.5935, allocations: 7.969 kB / 0.5759 GB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.5935, allocations: 4 kB / 0.5759 GB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.5936, allocations: 4 kB / 0.5759 GB, free: 1.367 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006963/0.5943, allocations: 0.6498 MB / 0.5765 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5943, allocations: 0 / 0.5765 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002964/0.5946, allocations: 55.84 kB / 0.5766 GB, free: 0.8398 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0009399/0.5955, allocations: 345.5 kB / 0.5769 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.5957, allocations: 31.72 kB / 0.5769 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5957, allocations: 3.938 kB / 0.5769 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.757e-05/0.5957, allocations: 20 kB / 0.577 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.596, allocations: 21.42 kB / 0.577 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.5974, allocations: 0.8853 MB / 0.5778 GB, free: 15.64 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.5978, allocations: 0.8256 MB / 0.5787 GB, free: 14.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.627e-05/0.5979, allocations: 44.41 kB / 0.5787 GB, free: 14.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.574e-05/0.598, allocations: 27.25 kB / 0.5787 GB, free: 14.73 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.598, allocations: 4 kB / 0.5787 GB, free: 14.73 MB / 394.7 MB Notification: Performance of Templates: time 0.005917/0.6039, allocations: 2.258 MB / 0.5809 GB, free: 12.47 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches