Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009161/0.0009161, allocations: 180.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.29/1.29, allocations: 221.3 MB / 236 MB, free: 2.934 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.0008023/0.0008023, allocations: 99.47 kB / 287 MB, free: 232 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.1782/0.1782, allocations: 44.14 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.881e-05/2.898e-05, allocations: 8 kB / 451.8 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1136, allocations: 61.91 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3667/0.4803, allocations: 87.87 MB / 0.5875 GB, free: 1.434 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001586/0.4805, allocations: 75.88 kB / 0.5876 GB, free: 1.363 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008927/0.4895, allocations: 3.673 MB / 0.5912 GB, free: 13.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4895, allocations: 0 / 0.5912 GB, free: 13.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.4895, allocations: 4 kB / 0.5912 GB, free: 13.69 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000288/0.4898, allocations: 362.5 kB / 0.5915 GB, free: 13.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.4899, allocations: 8.031 kB / 0.5915 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.4899, allocations: 15.91 kB / 0.5915 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.4901, allocations: 186.8 kB / 0.5917 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.4901, allocations: 7.938 kB / 0.5917 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.4901, allocations: 7.984 kB / 0.5917 GB, free: 13.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.8e-05/0.4902, allocations: 41.66 kB / 0.5918 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.4902, allocations: 0 / 0.5918 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.4902, allocations: 0 / 0.5918 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-06/0.4902, allocations: 0 / 0.5918 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.872e-05/0.4903, allocations: 19.98 kB / 0.5918 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/0.4906, allocations: 268.9 kB / 0.592 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.4908, allocations: 46.44 kB / 0.5921 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.466e-05/0.4908, allocations: 12.86 kB / 0.5921 GB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.4908, allocations: 0 / 0.5921 GB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.4908, allocations: 30.56 kB / 0.5921 GB, free: 12.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.4909, allocations: 4 kB / 0.5921 GB, free: 12.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003454/0.4912, allocations: 105.4 kB / 0.5922 GB, free: 12.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.4912, allocations: 51.41 kB / 0.5923 GB, free: 12.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.4914, allocations: 136.2 kB / 0.5924 GB, free: 12.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.4914, allocations: 25.7 kB / 0.5924 GB, free: 12.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.4914, allocations: 92.14 kB / 0.5925 GB, free: 12.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.4915, allocations: 15.7 kB / 0.5925 GB, free: 12.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.4915, allocations: 8 kB / 0.5926 GB, free: 12.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.75e-05/0.4916, allocations: 318.8 kB / 0.5929 GB, free: 11.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/0.4916, allocations: 8 kB / 0.5929 GB, free: 11.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.948e-05/0.4916, allocations: 12 kB / 0.5929 GB, free: 11.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.308e-05/0.4917, allocations: 11.98 kB / 0.5929 GB, free: 11.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4917, allocations: 0 / 0.5929 GB, free: 11.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.326e-05/0.4918, allocations: 57.64 kB / 0.5929 GB, free: 11.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.4918, allocations: 8 kB / 0.5929 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.4918, allocations: 3.984 kB / 0.593 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.4918, allocations: 0 / 0.593 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.612e-05/0.4919, allocations: 16 kB / 0.593 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.4919, allocations: 0 / 0.593 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.071e-05/0.4919, allocations: 7.984 kB / 0.593 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.4919, allocations: 4 kB / 0.593 GB, free: 11.62 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 (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 5.412e-05/0.492, allocations: 108.9 kB / 0.5931 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.492, allocations: 7.906 kB / 0.5931 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.4922, allocations: 81.94 kB / 0.5932 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4922, allocations: 64 / 0.5932 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4922, allocations: 4 kB / 0.5932 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.4922, allocations: 0 / 0.5932 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.4925, allocations: 330.5 kB / 0.5935 GB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4925, allocations: 7.922 kB / 0.5935 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.006e-05/0.4926, allocations: 12 kB / 0.5935 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.4926, allocations: 3.938 kB / 0.5935 GB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.4926, allocations: 11.94 kB / 0.5935 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4926, allocations: 4 kB / 0.5935 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4926, allocations: 0 / 0.5935 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.4927, allocations: 151.6 kB / 0.5937 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/0.4928, allocations: 96.98 kB / 0.5938 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.4928, allocations: 0 / 0.5938 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.601e-05/0.4929, allocations: 4 kB / 0.5938 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.4929, allocations: 11.98 kB / 0.5938 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.4929, allocations: 0 / 0.5938 GB, free: 10.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.459e-05/0.493, allocations: 111.3 kB / 0.5939 GB, free: 10.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.593e-06/0.493, allocations: 0 / 0.5939 GB, free: 10.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002029/0.4932, allocations: 19.88 kB / 0.5939 GB, free: 10.57 MB / 410.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 () * 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.0007095/0.4939, allocations: 368.9 kB / 0.5943 GB, free: 10.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.761e-05/0.494, allocations: 24 kB / 0.5943 GB, free: 10.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.494, allocations: 0 / 0.5943 GB, free: 10.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.776e-05/0.4941, allocations: 23.94 kB / 0.5943 GB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.4942, allocations: 17.34 kB / 0.5943 GB, free: 10.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000227/0.4945, allocations: 113 kB / 0.5944 GB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.4947, allocations: 0.6926 MB / 0.5951 GB, free: 9.402 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.833e-05/0.4947, allocations: 8.172 kB / 0.5951 GB, free: 9.391 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.4948, allocations: 15.44 kB / 0.5951 GB, free: 9.375 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4948, allocations: 0 / 0.5951 GB, free: 9.375 MB / 410.7 MB Notification: Performance of Templates: time 0.002633/0.4974, allocations: 1.024 MB / 0.5961 GB, free: 8.355 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches