Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00117/0.00117, 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.667/1.667, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0008002/0.0008002, allocations: 97.02 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.3611/0.3611, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004786, allocations: 16 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1365, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3541/0.4907, allocations: 86.53 MB / 0.5645 GB, free: 15.46 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.4909, allocations: 75.95 kB / 0.5645 GB, free: 15.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009646/0.5006, allocations: 3.767 MB / 0.5682 GB, free: 11.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5006, allocations: 0 / 0.5682 GB, free: 11.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.5006, allocations: 0 / 0.5682 GB, free: 11.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000424/0.5011, allocations: 391.6 kB / 0.5686 GB, free: 11.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.5011, allocations: 8.031 kB / 0.5686 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.5012, allocations: 8.844 kB / 0.5686 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.5014, allocations: 200 kB / 0.5688 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.5014, allocations: 384 / 0.5688 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.5014, allocations: 8.375 kB / 0.5688 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.5016, allocations: 75.94 kB / 0.5689 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.5016, allocations: 4.188 kB / 0.5689 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.5016, allocations: 3.938 kB / 0.5689 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5016, allocations: 7.938 kB / 0.5689 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.5018, allocations: 35.97 kB / 0.5689 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.5021, allocations: 288.8 kB / 0.5692 GB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.5023, allocations: 66.48 kB / 0.5693 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.5023, allocations: 24.97 kB / 0.5693 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.5023, allocations: 0 / 0.5693 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.5024, allocations: 30.56 kB / 0.5693 GB, free: 10.37 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.5024, allocations: 4 kB / 0.5693 GB, free: 10.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005725/0.503, allocations: 193.3 kB / 0.5695 GB, free: 10.17 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.503, allocations: 85.09 kB / 0.5696 GB, free: 10.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.5032, allocations: 138.7 kB / 0.5697 GB, free: 9.922 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.5032, allocations: 29.7 kB / 0.5697 GB, free: 9.887 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.144e-05/0.5032, allocations: 84.14 kB / 0.5698 GB, free: 9.801 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.5033, allocations: 27.64 kB / 0.5698 GB, free: 9.773 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.5033, allocations: 0 / 0.5698 GB, free: 9.773 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5034, allocations: 326.9 kB / 0.5702 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.362e-05/0.5035, allocations: 27.97 kB / 0.5702 GB, free: 9.418 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.55e-05/0.5036, allocations: 45.7 kB / 0.5702 GB, free: 9.367 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.5037, allocations: 60.83 kB / 0.5703 GB, free: 9.305 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.5038, allocations: 0 / 0.5703 GB, free: 9.305 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001904/0.504, allocations: 105.6 kB / 0.5704 GB, free: 9.195 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.504, allocations: 4 kB / 0.5704 GB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.504, allocations: 0 / 0.5704 GB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.504, allocations: 0 / 0.5704 GB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.5041, allocations: 27.92 kB / 0.5704 GB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.5041, allocations: 4 kB / 0.5704 GB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.037e-05/0.5042, allocations: 4 kB / 0.5704 GB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.5042, allocations: 4 kB / 0.5704 GB, free: 9.152 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 (7): * Single equations (assignments): 7 * 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 8.543e-05/0.5043, allocations: 121.8 kB / 0.5705 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.5043, allocations: 7.906 kB / 0.5706 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.5046, allocations: 123.1 kB / 0.5707 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.5046, allocations: 0 / 0.5707 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.5046, allocations: 0 / 0.5707 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.5046, allocations: 3.938 kB / 0.5707 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.5051, allocations: 386.5 kB / 0.571 GB, free: 8.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.5051, allocations: 3.938 kB / 0.571 GB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.445e-05/0.5052, allocations: 19.98 kB / 0.5711 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.5052, allocations: 0 / 0.5711 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.5052, allocations: 3.938 kB / 0.5711 GB, free: 8.426 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5052, allocations: 0 / 0.5711 GB, free: 8.426 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.5052, allocations: 384 / 0.5711 GB, free: 8.426 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.5055, allocations: 211.3 kB / 0.5713 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.5056, allocations: 93 kB / 0.5714 GB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.5056, allocations: 0 / 0.5714 GB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.874e-05/0.5056, allocations: 11.98 kB / 0.5714 GB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.5057, allocations: 7.938 kB / 0.5714 GB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.5057, allocations: 11.98 kB / 0.5714 GB, free: 8.062 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.307e-05/0.5058, allocations: 110.8 kB / 0.5715 GB, free: 7.957 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5058, allocations: 0 / 0.5715 GB, free: 7.957 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002492/0.5061, allocations: 24 kB / 0.5715 GB, free: 7.934 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 (7): * Single equations (assignments): 7 * 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.001031/0.5071, allocations: 462.1 kB / 0.572 GB, free: 7.574 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.5073, allocations: 67.91 kB / 0.572 GB, free: 7.508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5074, allocations: 0 / 0.572 GB, free: 7.508 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.558e-05/0.5074, allocations: 35.97 kB / 0.5721 GB, free: 7.473 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.5077, allocations: 16 kB / 0.5721 GB, free: 7.457 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004678/0.5082, allocations: 199.4 kB / 0.5723 GB, free: 7.238 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.5086, allocations: 0.6887 MB / 0.5729 GB, free: 6.523 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.864e-05/0.5087, allocations: 20.3 kB / 0.573 GB, free: 6.504 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.5087, allocations: 15.42 kB / 0.573 GB, free: 6.488 MB / 394.7 MB Notification: Performance of SimCode: time 1.983e-06/0.5087, allocations: 0 / 0.573 GB, free: 6.488 MB / 394.7 MB Notification: Performance of Templates: time 0.003764/0.5125, allocations: 1.426 MB / 0.5744 GB, free: 5.066 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches