Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002255/0.002255, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.554/1.554, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2571/0.2571, allocations: 46.96 MB / 361.6 MB, free: 4.16 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 71.88 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2816, allocations: 66.04 MB / 0.5618 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003072/0.2846, allocations: 1.684 MB / 0.5635 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.2857, allocations: 0.5738 MB / 0.564 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.984e-05/0.2858, allocations: 0 / 0.564 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.286, allocations: 19.86 kB / 0.5641 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.2862, allocations: 91.55 kB / 0.5641 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.2867, allocations: 174.7 kB / 0.5643 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.2868, allocations: 111.7 kB / 0.5644 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.018e-05/0.2869, allocations: 14.8 kB / 0.5644 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.576e-05/0.287, allocations: 43.84 kB / 0.5645 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.204e-05/0.2871, allocations: 47.77 kB / 0.5645 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.2871, allocations: 8 kB / 0.5645 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.2873, allocations: 99.88 kB / 0.5646 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.758e-05/0.2873, allocations: 19.92 kB / 0.5646 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.2874, allocations: 31.8 kB / 0.5647 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.2877, allocations: 163.2 kB / 0.5648 GB, free: 1.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2877, allocations: 3.984 kB / 0.5648 GB, free: 1.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2877, allocations: 3.938 kB / 0.5648 GB, free: 1.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.2877, allocations: 0 / 0.5648 GB, free: 1.117 MB / 398.1 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.0006623/0.2883, allocations: 365.5 kB / 0.5652 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.2884, allocations: 11.97 kB / 0.5652 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.2884, allocations: 12.84 kB / 0.5652 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.2886, allocations: 145.9 kB / 0.5653 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.2886, allocations: 8.375 kB / 0.5654 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.2887, allocations: 3.938 kB / 0.5654 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.289, allocations: 133 kB / 0.5655 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.289, allocations: 0 / 0.5655 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.289, allocations: 4 kB / 0.5655 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.289, allocations: 0 / 0.5655 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003166/0.2893, allocations: 71.86 kB / 0.5656 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005924/0.2899, allocations: 276.4 kB / 0.5658 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.2902, allocations: 78.47 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.2904, allocations: 48.94 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.2904, allocations: 4 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.2904, allocations: 30.56 kB / 0.566 GB, free: 15.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.2904, allocations: 0 / 0.566 GB, free: 15.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001702/0.2921, allocations: 417.1 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.2922, allocations: 81.11 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.2923, allocations: 167.7 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.2924, allocations: 29.64 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/0.2924, allocations: 104.1 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.2925, allocations: 27.73 kB / 0.5668 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.2925, allocations: 21.72 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2927, allocations: 322.8 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.293, allocations: 79.92 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/0.2933, allocations: 123.3 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005868/0.2939, allocations: 164.7 kB / 0.5674 GB, free: 14.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2939, allocations: 3.938 kB / 0.5674 GB, free: 14.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006653/0.2946, allocations: 217.7 kB / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2946, allocations: 10.34 kB / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.2946, allocations: 0 / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.2946, allocations: 0 / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.2948, allocations: 43.89 kB / 0.5677 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2948, allocations: 3.938 kB / 0.5677 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.295, allocations: 31.89 kB / 0.5677 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.295, allocations: 4 kB / 0.5677 GB, free: 13.93 MB / 414.1 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.2951, allocations: 121.8 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.2951, allocations: 7.953 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006972/0.2958, allocations: 222.2 kB / 0.5681 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2958, allocations: 0 / 0.5681 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2958, allocations: 7.938 kB / 0.5681 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2958, allocations: 0 / 0.5681 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009608/0.2968, allocations: 453.9 kB / 0.5685 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2968, allocations: 0 / 0.5685 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.297, allocations: 39.89 kB / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.297, allocations: 3.938 kB / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.297, allocations: 0 / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.297, allocations: 0 / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.297, allocations: 8 kB / 0.5686 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007291/0.2978, allocations: 295.3 kB / 0.5689 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.2978, allocations: 12.31 kB / 0.5689 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.2978, allocations: 3.938 kB / 0.5689 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.298, allocations: 32.34 kB / 0.5689 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/0.2981, allocations: 11.97 kB / 0.5689 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.2981, allocations: 7.938 kB / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.2982, allocations: 119.2 kB / 0.569 GB, free: 12.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2982, allocations: 0 / 0.569 GB, free: 12.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003102/0.2985, allocations: 51.86 kB / 0.5691 GB, free: 12.49 MB / 414.1 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001866/0.3004, allocations: 0.5314 MB / 0.5696 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006712/0.301, allocations: 175.7 kB / 0.5698 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.301, allocations: 0 / 0.5698 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003334/0.3014, allocations: 95.84 kB / 0.5699 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.3017, allocations: 19.98 kB / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/0.3022, allocations: 234.3 kB / 0.5701 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.416e-05/0.3023, allocations: 96.17 kB / 0.5702 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.3024, allocations: 28.47 kB / 0.5702 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.289e-05/0.3024, allocations: 19.42 kB / 0.5702 GB, free: 11.47 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3024, allocations: 4 kB / 0.5702 GB, free: 11.47 MB / 414.1 MB Notification: Performance of Templates: time 0.006143/0.3086, allocations: 2.762 MB / 0.5729 GB, free: 8.734 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.004683722989284]