Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.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.CombiTable1D.Test3") translateModel(ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002396/0.002395, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 92.05 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2955/0.2955, allocations: 43.5 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.341e-05/2.344e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.398, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1617/0.5598, allocations: 85.74 MB / 0.5496 GB, free: 13.57 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.5601, allocations: 71.95 kB / 0.5497 GB, free: 13.5 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01643/0.5766, allocations: 3.82 MB / 0.5534 GB, free: 9.684 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5766, allocations: 0 / 0.5534 GB, free: 9.684 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.5767, allocations: 7.938 kB / 0.5534 GB, free: 9.676 MB / 395.1 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.0005042/0.5772, allocations: 378.3 kB / 0.5538 GB, free: 9.262 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.5772, allocations: 8.031 kB / 0.5538 GB, free: 9.254 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.5773, allocations: 7.906 kB / 0.5538 GB, free: 9.246 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.5776, allocations: 210.6 kB / 0.554 GB, free: 9 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.5776, allocations: 0 / 0.554 GB, free: 9 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.5777, allocations: 0 / 0.554 GB, free: 9 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.349e-05/0.5778, allocations: 12 kB / 0.554 GB, free: 8.988 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.978e-05/0.5779, allocations: 41.69 kB / 0.5541 GB, free: 8.941 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.5779, allocations: 0 / 0.5541 GB, free: 8.941 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.5779, allocations: 7.984 kB / 0.5541 GB, free: 8.934 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.5779, allocations: 4 kB / 0.5541 GB, free: 8.93 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.5784, allocations: 273.3 kB / 0.5543 GB, free: 8.625 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.5787, allocations: 38.58 kB / 0.5544 GB, free: 8.578 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.611e-05/0.5787, allocations: 12.94 kB / 0.5544 GB, free: 8.562 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.5787, allocations: 0 / 0.5544 GB, free: 8.562 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.5788, allocations: 34.56 kB / 0.5544 GB, free: 8.52 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.5788, allocations: 0 / 0.5544 GB, free: 8.52 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005128/0.5793, allocations: 121.2 kB / 0.5545 GB, free: 8.395 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.5794, allocations: 51.41 kB / 0.5546 GB, free: 8.332 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.5796, allocations: 161.4 kB / 0.5547 GB, free: 8.168 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.5797, allocations: 29.64 kB / 0.5548 GB, free: 8.133 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.663e-05/0.5798, allocations: 166.6 kB / 0.5549 GB, free: 7.969 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.5798, allocations: 19.7 kB / 0.5549 GB, free: 7.949 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.5798, allocations: 0 / 0.5549 GB, free: 7.949 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.58, allocations: 318.8 kB / 0.5553 GB, free: 7.629 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.929e-05/0.58, allocations: 8 kB / 0.5553 GB, free: 7.621 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.694e-05/0.5801, allocations: 12 kB / 0.5553 GB, free: 7.609 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.092e-05/0.5801, allocations: 16.14 kB / 0.5553 GB, free: 7.594 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5801, allocations: 0 / 0.5553 GB, free: 7.594 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001516/0.5803, allocations: 65.56 kB / 0.5554 GB, free: 7.523 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.5803, allocations: 4 kB / 0.5554 GB, free: 7.52 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5804, allocations: 4 kB / 0.5554 GB, free: 7.516 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.5804, allocations: 0 / 0.5554 GB, free: 7.516 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.5805, allocations: 15.98 kB / 0.5554 GB, free: 7.5 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.5805, allocations: 0 / 0.5554 GB, free: 7.5 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.267e-05/0.5806, allocations: 4 kB / 0.5554 GB, free: 7.496 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.5806, allocations: 4 kB / 0.5554 GB, free: 7.492 MB / 395.1 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.0001105/0.5808, allocations: 104.9 kB / 0.5555 GB, free: 7.383 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.5808, allocations: 15.91 kB / 0.5555 GB, free: 7.367 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.5811, allocations: 82.05 kB / 0.5556 GB, free: 7.277 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5811, allocations: 3.938 kB / 0.5556 GB, free: 7.273 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.5811, allocations: 0 / 0.5556 GB, free: 7.273 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.5811, allocations: 4 kB / 0.5556 GB, free: 7.27 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005005/0.5816, allocations: 327.1 kB / 0.5559 GB, free: 6.906 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5816, allocations: 0 / 0.5559 GB, free: 6.906 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.5817, allocations: 16 kB / 0.5559 GB, free: 6.891 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.5818, allocations: 0 / 0.5559 GB, free: 6.891 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.5818, allocations: 3.984 kB / 0.5559 GB, free: 6.887 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5818, allocations: 384 / 0.5559 GB, free: 6.887 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5818, allocations: 0 / 0.5559 GB, free: 6.887 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.582, allocations: 175.3 kB / 0.5561 GB, free: 6.699 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.282e-05/0.5821, allocations: 92.92 kB / 0.5562 GB, free: 6.59 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.5822, allocations: 3.984 kB / 0.5562 GB, free: 6.586 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.5823, allocations: 8 kB / 0.5562 GB, free: 6.578 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.5823, allocations: 7.984 kB / 0.5562 GB, free: 6.57 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.5824, allocations: 3.938 kB / 0.5562 GB, free: 6.566 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.5825, allocations: 139.9 kB / 0.5563 GB, free: 6.43 MB / 395.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5826, allocations: 0 / 0.5563 GB, free: 6.43 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003495/0.5829, allocations: 27.92 kB / 0.5564 GB, free: 6.402 MB / 395.1 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.0009898/0.5839, allocations: 328.3 kB / 0.5567 GB, free: 6.109 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001506/0.5841, allocations: 43.92 kB / 0.5567 GB, free: 6.066 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5841, allocations: 0 / 0.5567 GB, free: 6.066 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.243e-05/0.5842, allocations: 16 kB / 0.5567 GB, free: 6.051 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.5845, allocations: 16.55 kB / 0.5567 GB, free: 6.035 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/0.585, allocations: 177.8 kB / 0.5569 GB, free: 5.832 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.5853, allocations: 0.708 MB / 0.5576 GB, free: 5.098 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.781e-05/0.5854, allocations: 11.44 kB / 0.5576 GB, free: 5.086 MB / 395.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5854, allocations: 0 / 0.5576 GB, free: 5.086 MB / 395.1 MB Notification: Performance of Templates: time 0.004581/0.59, allocations: 1.546 MB / 0.5591 GB, free: 3.547 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches