Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001699/0.001699, allocations: 185.2 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.932/1.932, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009241/0.000924, allocations: 94.86 kB / 270.2 MB, free: 13.35 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.2249/0.2249, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004329/0.0004331, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1687, allocations: 58.86 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4629/0.6317, allocations: 86.34 MB / 0.5631 GB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.632, allocations: 79.33 kB / 0.5631 GB, free: 13.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009556/0.6416, allocations: 3.534 MB / 0.5666 GB, free: 10.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6416, allocations: 0 / 0.5666 GB, free: 10.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.6416, allocations: 0 / 0.5666 GB, free: 10.39 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.000464/0.6421, allocations: 388.7 kB / 0.567 GB, free: 9.965 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.6422, allocations: 12.02 kB / 0.567 GB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.6422, allocations: 11.91 kB / 0.567 GB, free: 9.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.6424, allocations: 186.4 kB / 0.5672 GB, free: 9.723 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.6425, allocations: 4 kB / 0.5672 GB, free: 9.719 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.6425, allocations: 4 kB / 0.5672 GB, free: 9.715 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.6426, allocations: 48.31 kB / 0.5672 GB, free: 9.668 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.6427, allocations: 0 / 0.5672 GB, free: 9.668 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.6427, allocations: 0 / 0.5672 GB, free: 9.668 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.6427, allocations: 0 / 0.5672 GB, free: 9.668 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.943e-05/0.6428, allocations: 35.16 kB / 0.5673 GB, free: 9.637 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.6432, allocations: 274.1 kB / 0.5675 GB, free: 9.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.6435, allocations: 38.31 kB / 0.5676 GB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.6435, allocations: 8.078 kB / 0.5676 GB, free: 9.285 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.6436, allocations: 38.25 kB / 0.5676 GB, free: 9.242 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.6436, allocations: 0 / 0.5676 GB, free: 9.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005939/0.6442, allocations: 154 kB / 0.5677 GB, free: 9.102 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.6442, allocations: 51.41 kB / 0.5678 GB, free: 9.039 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.6444, allocations: 131.1 kB / 0.5679 GB, free: 8.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.6444, allocations: 33.64 kB / 0.568 GB, free: 8.871 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.844e-05/0.6445, allocations: 90.67 kB / 0.568 GB, free: 8.785 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.6445, allocations: 15.12 kB / 0.5681 GB, free: 8.773 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.6445, allocations: 0 / 0.5681 GB, free: 8.773 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6446, allocations: 326 kB / 0.5684 GB, free: 8.449 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.284e-05/0.6447, allocations: 19.61 kB / 0.5684 GB, free: 8.434 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.764e-05/0.6448, allocations: 23.23 kB / 0.5684 GB, free: 8.414 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.458e-05/0.6449, allocations: 22.42 kB / 0.5684 GB, free: 8.398 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6449, allocations: 4 kB / 0.5684 GB, free: 8.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001803/0.6451, allocations: 94.88 kB / 0.5685 GB, free: 8.305 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.6451, allocations: 6.656 kB / 0.5685 GB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.6451, allocations: 3.938 kB / 0.5685 GB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.6451, allocations: 0 / 0.5685 GB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/0.6452, allocations: 15.98 kB / 0.5685 GB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.6452, allocations: 7.938 kB / 0.5686 GB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.414e-05/0.6453, allocations: 15.94 kB / 0.5686 GB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.6453, allocations: 0 / 0.5686 GB, free: 8.258 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 (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 9.556e-05/0.6454, allocations: 116.8 kB / 0.5687 GB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.6454, allocations: 7.906 kB / 0.5687 GB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.6456, allocations: 102.5 kB / 0.5688 GB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.6457, allocations: 0 / 0.5688 GB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6457, allocations: 4.312 kB / 0.5688 GB, free: 8.031 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6457, allocations: 0 / 0.5688 GB, free: 8.031 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/0.6461, allocations: 361.4 kB / 0.5691 GB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.6461, allocations: 3.984 kB / 0.5691 GB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.169e-05/0.6462, allocations: 12 kB / 0.5692 GB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.6462, allocations: 0 / 0.5692 GB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.6462, allocations: 3.562 kB / 0.5692 GB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.6462, allocations: 0 / 0.5692 GB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.6462, allocations: 3.953 kB / 0.5692 GB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.6465, allocations: 193.4 kB / 0.5693 GB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.6465, allocations: 88.14 kB / 0.5694 GB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.6466, allocations: 0 / 0.5694 GB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.805e-05/0.6466, allocations: 7.984 kB / 0.5694 GB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.6467, allocations: 4 kB / 0.5694 GB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.6467, allocations: 7.953 kB / 0.5694 GB, free: 7.309 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.161e-05/0.6468, allocations: 110.8 kB / 0.5696 GB, free: 7.211 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6468, allocations: 0 / 0.5696 GB, free: 7.211 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.647, allocations: 19.88 kB / 0.5696 GB, free: 7.195 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 (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.0009615/0.648, allocations: 403.7 kB / 0.57 GB, free: 6.852 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.6482, allocations: 54.91 kB / 0.57 GB, free: 6.805 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6482, allocations: 3.938 kB / 0.57 GB, free: 6.801 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.486e-05/0.6483, allocations: 27.55 kB / 0.57 GB, free: 6.777 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.6485, allocations: 11.42 kB / 0.57 GB, free: 6.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/0.649, allocations: 171.9 kB / 0.5702 GB, free: 6.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.6494, allocations: 0.6965 MB / 0.5709 GB, free: 5.867 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.24e-05/0.6494, allocations: 4.188 kB / 0.5709 GB, free: 5.859 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.6495, allocations: 11.44 kB / 0.5709 GB, free: 5.848 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6495, allocations: 7.938 kB / 0.5709 GB, free: 5.84 MB / 378.7 MB Notification: Performance of Templates: time 0.003547/0.653, allocations: 1.019 MB / 0.5719 GB, free: 4.836 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches