Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 179.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008278/0.0008279, allocations: 87.8 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1805/0.1805, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.38e-05/3.382e-05, allocations: 8 kB / 451.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1213, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3464/0.4678, allocations: 88.08 MB / 0.5877 GB, free: 1.254 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.4681, allocations: 67.97 kB / 0.5878 GB, free: 1.188 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01066/0.4788, allocations: 4.286 MB / 0.592 GB, free: 12.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4788, allocations: 0 / 0.592 GB, free: 12.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.4788, allocations: 0 / 0.592 GB, free: 12.91 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003808/0.4792, allocations: 398.2 kB / 0.5924 GB, free: 12.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.4793, allocations: 8.031 kB / 0.5924 GB, free: 12.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.4793, allocations: 7.906 kB / 0.5924 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.4796, allocations: 206.8 kB / 0.5926 GB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.4796, allocations: 0 / 0.5926 GB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.4796, allocations: 7.906 kB / 0.5926 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.4798, allocations: 53.58 kB / 0.5926 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.4798, allocations: 0 / 0.5926 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.4798, allocations: 4 kB / 0.5926 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4798, allocations: 0 / 0.5926 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.478e-05/0.4799, allocations: 20 kB / 0.5926 GB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.4804, allocations: 308.8 kB / 0.5929 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.598e-05/0.4805, allocations: 42.5 kB / 0.593 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.4805, allocations: 16.84 kB / 0.593 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.4805, allocations: 4 kB / 0.593 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.4806, allocations: 34.56 kB / 0.593 GB, free: 11.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.4806, allocations: 0 / 0.593 GB, free: 11.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005314/0.4811, allocations: 165.2 kB / 0.5932 GB, free: 11.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.4812, allocations: 55.39 kB / 0.5932 GB, free: 11.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.4814, allocations: 173.4 kB / 0.5934 GB, free: 11.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.4814, allocations: 37.64 kB / 0.5934 GB, free: 11.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.4814, allocations: 108 kB / 0.5935 GB, free: 11.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.4815, allocations: 23.64 kB / 0.5936 GB, free: 11.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/0.4815, allocations: 4 kB / 0.5936 GB, free: 11.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4816, allocations: 322.8 kB / 0.5939 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.692e-05/0.4817, allocations: 20 kB / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.552e-05/0.4817, allocations: 23.94 kB / 0.5939 GB, free: 10.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.47e-05/0.4818, allocations: 32.28 kB / 0.594 GB, free: 10.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4818, allocations: 0 / 0.594 GB, free: 10.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000138/0.4819, allocations: 101.5 kB / 0.5941 GB, free: 10.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.4819, allocations: 4 kB / 0.5941 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.482, allocations: 0 / 0.5941 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.482, allocations: 4 kB / 0.5941 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.4821, allocations: 15.98 kB / 0.5941 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.4821, allocations: 4 kB / 0.5941 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.4822, allocations: 4 kB / 0.5941 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.4822, allocations: 0 / 0.5941 GB, free: 10.54 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.266e-05/0.4823, allocations: 124.8 kB / 0.5942 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.4823, allocations: 11.89 kB / 0.5942 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.4825, allocations: 106.3 kB / 0.5943 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.4825, allocations: 4 kB / 0.5943 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4825, allocations: 0 / 0.5943 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.4825, allocations: 0 / 0.5943 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004389/0.483, allocations: 419.2 kB / 0.5947 GB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.483, allocations: 0 / 0.5947 GB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-05/0.4831, allocations: 23.92 kB / 0.5947 GB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.4831, allocations: 4 kB / 0.5947 GB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.4831, allocations: 0 / 0.5947 GB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4831, allocations: 0 / 0.5947 GB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4831, allocations: 4 kB / 0.5947 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.4833, allocations: 214 kB / 0.595 GB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.4834, allocations: 96.92 kB / 0.595 GB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.4834, allocations: 3.984 kB / 0.595 GB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-05/0.4835, allocations: 8 kB / 0.5951 GB, free: 9.426 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.4835, allocations: 7.938 kB / 0.5951 GB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.4835, allocations: 4 kB / 0.5951 GB, free: 9.414 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001212/0.4836, allocations: 156.1 kB / 0.5952 GB, free: 9.262 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4837, allocations: 4 kB / 0.5952 GB, free: 9.258 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002294/0.4839, allocations: 31.94 kB / 0.5953 GB, free: 9.227 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0009149/0.4848, allocations: 418.6 kB / 0.5957 GB, free: 8.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.485, allocations: 63.97 kB / 0.5957 GB, free: 8.867 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.485, allocations: 3.938 kB / 0.5957 GB, free: 8.863 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.909e-05/0.485, allocations: 28 kB / 0.5957 GB, free: 8.836 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.4853, allocations: 19.92 kB / 0.5958 GB, free: 8.816 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.4857, allocations: 187.8 kB / 0.5959 GB, free: 8.602 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.4859, allocations: 0.716 MB / 0.5966 GB, free: 7.859 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.738e-05/0.486, allocations: 16.97 kB / 0.5967 GB, free: 7.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.4861, allocations: 19.44 kB / 0.5967 GB, free: 7.82 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4861, allocations: 0 / 0.5967 GB, free: 7.82 MB / 410.7 MB Notification: Performance of Templates: time 0.00355/0.4896, allocations: 1.374 MB / 0.598 GB, free: 6.449 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches