Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009155/0.0009155, allocations: 96.31 kB / 17.35 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001205/0.001205, allocations: 203.7 kB / 18.28 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 227.7 MB / 246.8 MB, free: 9.676 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1806/0.1806, allocations: 46.19 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002358/0.0002359, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08924/0.08949, allocations: 63.57 MB / 483.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002064/0.09158, allocations: 1.798 MB / 484.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.09343, allocations: 1.372 MB / 486.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.91e-05/0.09353, allocations: 4 kB / 486.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.09374, allocations: 43.7 kB / 486.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003555/0.09411, allocations: 187.3 kB / 486.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.09522, allocations: 0.5903 MB / 487.1 MB, free: 136 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.09558, allocations: 327 kB / 487.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.09574, allocations: 68.62 kB / 487.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.09594, allocations: 127.3 kB / 487.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.09616, allocations: 195.2 kB / 487.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.09619, allocations: 8 kB / 487.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.09632, allocations: 63.91 kB / 487.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.09646, allocations: 139.5 kB / 488 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.0966, allocations: 192.3 kB / 488.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.09695, allocations: 398.6 kB / 488.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.09696, allocations: 0 / 488.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.09697, allocations: 0 / 488.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.09698, allocations: 4 kB / 488.5 MB, free: 14.63 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008351/0.09782, allocations: 0.7426 MB / 489.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.09786, allocations: 12.88 kB / 489.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004038/0.09827, allocations: 104.1 kB / 489.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005013/0.09878, allocations: 480.5 kB / 489.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.0988, allocations: 8.375 kB / 489.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.09884, allocations: 12.12 kB / 489.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.09917, allocations: 171.1 kB / 490.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.09919, allocations: 8 kB / 490.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.09921, allocations: 0 / 490.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.09922, allocations: 7.984 kB / 490.1 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/0.09957, allocations: 135.8 kB / 490.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009213/0.1005, allocations: 0.7229 MB / 490.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.1008, allocations: 145.2 kB / 491.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.101, allocations: 77.8 kB / 491.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.101, allocations: 0 / 491.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.101, allocations: 42.5 kB / 491.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.101, allocations: 0 / 491.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.002118/0.1032, allocations: 0.8177 MB / 492 MB, free: 10.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.1032, allocations: 81.11 kB / 492.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008961/0.1041, allocations: 0.9064 MB / 493 MB, free: 9.957 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.1042, allocations: 29.7 kB / 493 MB, free: 9.922 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.1043, allocations: 268.2 kB / 493.3 MB, free: 9.656 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.689e-05/0.1044, allocations: 71.03 kB / 493.4 MB, free: 9.586 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.1045, allocations: 17.72 kB / 493.4 MB, free: 9.562 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1046, allocations: 378.7 kB / 493.7 MB, free: 9.184 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.1049, allocations: 123.9 kB / 493.9 MB, free: 9.062 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.1052, allocations: 145.6 kB / 494 MB, free: 8.914 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006293/0.1059, allocations: 293.6 kB / 494.3 MB, free: 8.621 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1059, allocations: 0 / 494.3 MB, free: 8.621 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007607/0.1066, allocations: 372.7 kB / 494.7 MB, free: 8.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1067, allocations: 4 kB / 494.7 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1067, allocations: 4.219 kB / 494.7 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1067, allocations: 4 kB / 494.7 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.107, allocations: 64.58 kB / 494.7 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.107, allocations: 4 kB / 494.7 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.1072, allocations: 35.97 kB / 494.8 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.1072, allocations: 8 kB / 494.8 MB, free: 8.129 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002043/0.1074, allocations: 225.6 kB / 495 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.716e-05/0.1075, allocations: 59.25 kB / 495.1 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008933/0.1084, allocations: 434.4 kB / 495.5 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1084, allocations: 4 kB / 495.5 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1085, allocations: 0 / 495.5 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1085, allocations: 4 kB / 495.5 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.1099, allocations: 0.9893 MB / 496.5 MB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1099, allocations: 0 / 496.5 MB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.1101, allocations: 63.95 kB / 496.5 MB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1102, allocations: 0 / 496.5 MB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.1102, allocations: 4 kB / 496.5 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1102, allocations: 3.938 kB / 496.5 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1102, allocations: 11.92 kB / 496.6 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008067/0.111, allocations: 0.5409 MB / 497.1 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.1111, allocations: 148.3 kB / 497.2 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.003e-05/0.1112, allocations: 8 kB / 497.3 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.1115, allocations: 35.92 kB / 497.3 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.221e-05/0.1115, allocations: 15.97 kB / 497.3 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.1116, allocations: 8.359 kB / 497.3 MB, free: 5.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006724/0.1122, allocations: 0.663 MB / 498 MB, free: 4.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.423e-06/0.1123, allocations: 0 / 498 MB, free: 4.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003653/0.1126, allocations: 71.94 kB / 498 MB, free: 4.75 MB / 366.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0008555/0.1135, allocations: 405.7 kB / 498.4 MB, free: 4.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006983/0.1142, allocations: 291.8 kB / 498.7 MB, free: 4.195 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1142, allocations: 0 / 498.7 MB, free: 4.195 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003489/0.1146, allocations: 163.8 kB / 498.9 MB, free: 4.035 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006079/0.1152, allocations: 70.95 kB / 499 MB, free: 3.969 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.1166, allocations: 1.17 MB / 0.4884 GB, free: 2.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.117, allocations: 0.8851 MB / 0.4893 GB, free: 1.859 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002273/0.1172, allocations: 103.2 kB / 0.4894 GB, free: 1.762 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.1173, allocations: 43.41 kB / 0.4894 GB, free: 1.719 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1173, allocations: 4 kB / 0.4894 GB, free: 1.715 MB / 366.1 MB Notification: Performance of Templates: time 0.007583/0.1249, allocations: 4.122 MB / 0.4934 GB, free: 13.61 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches