Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001924/0.001924, allocations: 175.8 kB / 16.76 MB, free: 5.051 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.657/1.657, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0008759/0.0008759, allocations: 85.94 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3743/0.3743, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003502, allocations: 15.98 kB / 432.6 MB, free: 4.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1102, allocations: 58.84 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2821/0.3924, allocations: 86.43 MB / 0.5644 GB, free: 15.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.3926, allocations: 70.19 kB / 0.5644 GB, free: 15.35 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01003/0.4027, allocations: 4.044 MB / 0.5684 GB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4027, allocations: 0 / 0.5684 GB, free: 11.35 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.4027, allocations: 7.984 kB / 0.5684 GB, free: 11.34 MB / 394.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.0004341/0.4032, allocations: 413.9 kB / 0.5688 GB, free: 10.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.4032, allocations: 12.02 kB / 0.5688 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.4033, allocations: 13.88 kB / 0.5688 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.4035, allocations: 222.9 kB / 0.569 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.341e-06/0.4035, allocations: 384 / 0.569 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.4035, allocations: 384 / 0.569 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.4037, allocations: 54.19 kB / 0.5691 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4037, allocations: 4.188 kB / 0.5691 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.4037, allocations: 7.938 kB / 0.5691 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-06/0.4037, allocations: 0 / 0.5691 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.399e-05/0.4038, allocations: 27.97 kB / 0.5691 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.4041, allocations: 281 kB / 0.5694 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.4043, allocations: 54.44 kB / 0.5694 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.923e-05/0.4044, allocations: 23.84 kB / 0.5694 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.4044, allocations: 0 / 0.5694 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.4044, allocations: 30.56 kB / 0.5695 GB, free: 10.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.4044, allocations: 0 / 0.5695 GB, free: 10.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005077/0.4049, allocations: 173.2 kB / 0.5696 GB, free: 9.891 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.405, allocations: 51.41 kB / 0.5697 GB, free: 9.828 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.4052, allocations: 234.7 kB / 0.5699 GB, free: 9.586 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.4053, allocations: 29.7 kB / 0.5699 GB, free: 9.551 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.4053, allocations: 104.1 kB / 0.57 GB, free: 9.445 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.4054, allocations: 15.81 kB / 0.57 GB, free: 9.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.4054, allocations: 0 / 0.57 GB, free: 9.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4055, allocations: 326.8 kB / 0.5704 GB, free: 9.102 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.848e-05/0.4056, allocations: 23.92 kB / 0.5704 GB, free: 9.078 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-05/0.4057, allocations: 27.98 kB / 0.5704 GB, free: 9.051 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.4058, allocations: 53.83 kB / 0.5705 GB, free: 8.996 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4058, allocations: 0 / 0.5705 GB, free: 8.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001753/0.406, allocations: 97.48 kB / 0.5706 GB, free: 8.895 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.406, allocations: 8 kB / 0.5706 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.406, allocations: 3.984 kB / 0.5706 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.406, allocations: 0 / 0.5706 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.836e-05/0.4061, allocations: 12.56 kB / 0.5706 GB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.4061, allocations: 0 / 0.5706 GB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.816e-05/0.4062, allocations: 11.98 kB / 0.5706 GB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.4062, allocations: 4 kB / 0.5706 GB, free: 8.855 MB / 394.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.042e-05/0.4063, allocations: 137.8 kB / 0.5707 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.4063, allocations: 9.656 kB / 0.5707 GB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.4065, allocations: 111.2 kB / 0.5708 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4065, allocations: 0 / 0.5708 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4065, allocations: 0 / 0.5708 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.4065, allocations: 0 / 0.5708 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.407, allocations: 386.4 kB / 0.5712 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.407, allocations: 5.016 kB / 0.5712 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.198e-05/0.4071, allocations: 16 kB / 0.5712 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4071, allocations: 4.875 kB / 0.5712 GB, free: 8.133 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.4071, allocations: 0 / 0.5712 GB, free: 8.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4071, allocations: 0 / 0.5712 GB, free: 8.133 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4071, allocations: 3.984 kB / 0.5712 GB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.4073, allocations: 195.6 kB / 0.5714 GB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.246e-05/0.4074, allocations: 97 kB / 0.5715 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.4074, allocations: 4.344 kB / 0.5715 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/0.4075, allocations: 8 kB / 0.5715 GB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.979e-05/0.4075, allocations: 11.92 kB / 0.5715 GB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.4075, allocations: 3.938 kB / 0.5715 GB, free: 7.781 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001456/0.4077, allocations: 184.2 kB / 0.5717 GB, free: 7.602 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4077, allocations: 4 kB / 0.5717 GB, free: 7.598 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002313/0.4079, allocations: 24 kB / 0.5717 GB, free: 7.574 MB / 394.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.0007955/0.4087, allocations: 402.9 kB / 0.5721 GB, free: 7.273 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001646/0.4089, allocations: 51.97 kB / 0.5722 GB, free: 7.223 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4089, allocations: 4 kB / 0.5722 GB, free: 7.219 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.843e-05/0.409, allocations: 31.92 kB / 0.5722 GB, free: 7.188 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.4093, allocations: 16.23 kB / 0.5722 GB, free: 7.172 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.4097, allocations: 275.9 kB / 0.5725 GB, free: 6.879 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.41, allocations: 0.717 MB / 0.5732 GB, free: 6.137 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.292e-05/0.41, allocations: 12 kB / 0.5732 GB, free: 6.125 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.4101, allocations: 15.42 kB / 0.5732 GB, free: 6.113 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4101, allocations: 4 kB / 0.5732 GB, free: 6.109 MB / 394.7 MB Notification: Performance of Templates: time 0.00316/0.4133, allocations: 1.208 MB / 0.5744 GB, free: 4.91 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches