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.001091/0.001091, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001087/0.001087, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2008/0.2008, allocations: 46.11 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 79.88 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1045, allocations: 62.45 MB / 481.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003284/0.1078, allocations: 2.113 MB / 483.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.1097, allocations: 1.399 MB / 485 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.1099, allocations: 7.938 kB / 485 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.1101, allocations: 43.53 kB / 485 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003966/0.1105, allocations: 223 kB / 485.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.1116, allocations: 0.6218 MB / 485.9 MB, free: 96 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003593/0.112, allocations: 347 kB / 486.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.1122, allocations: 80.69 kB / 486.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.1124, allocations: 147.4 kB / 486.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.1126, allocations: 207.2 kB / 486.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.1127, allocations: 16 kB / 486.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.1128, allocations: 67.97 kB / 486.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.113, allocations: 151.4 kB / 486.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.1131, allocations: 178.6 kB / 487 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.1135, allocations: 426.3 kB / 487.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1135, allocations: 4 kB / 487.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1135, allocations: 0 / 487.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1135, allocations: 0 / 487.4 MB, free: 14.5 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.0009568/0.1145, allocations: 0.8083 MB / 488.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.1145, allocations: 8.031 kB / 488.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003831/0.1149, allocations: 92.14 kB / 488.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006095/0.1155, allocations: 480.5 kB / 488.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1155, allocations: 12.38 kB / 488.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.1156, allocations: 20.11 kB / 488.9 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.1159, allocations: 159.1 kB / 489 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1159, allocations: 0 / 489 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.1159, allocations: 4 kB / 489 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1159, allocations: 0 / 489 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002804/0.1162, allocations: 127.9 kB / 489.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009452/0.1172, allocations: 0.7074 MB / 489.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.1174, allocations: 141.1 kB / 490 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.1176, allocations: 65.81 kB / 490 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.1176, allocations: 0 / 490 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.1176, allocations: 46.42 kB / 490.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 9.32e-07/0.1176, allocations: 0 / 490.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001794/0.1194, allocations: 0.7435 MB / 490.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.1195, allocations: 81.11 kB / 490.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008218/0.1203, allocations: 0.9063 MB / 491.8 MB, free: 9.895 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.1204, allocations: 33.7 kB / 491.9 MB, free: 9.855 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.1205, allocations: 268.2 kB / 492.1 MB, free: 9.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.592e-05/0.1206, allocations: 63.09 kB / 492.2 MB, free: 9.527 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-05/0.1207, allocations: 41.64 kB / 492.2 MB, free: 9.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1208, allocations: 382.7 kB / 492.6 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.1211, allocations: 107.9 kB / 492.7 MB, free: 8.992 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.1213, allocations: 132.7 kB / 492.8 MB, free: 8.859 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005061/0.1219, allocations: 249.5 kB / 493.1 MB, free: 8.609 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1219, allocations: 0 / 493.1 MB, free: 8.609 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006409/0.1225, allocations: 344.8 kB / 493.4 MB, free: 8.266 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1225, allocations: 4 kB / 493.4 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1226, allocations: 0 / 493.4 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1226, allocations: 4.75 kB / 493.4 MB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.1228, allocations: 55.88 kB / 493.5 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1229, allocations: 4 kB / 493.5 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.123, allocations: 27.97 kB / 493.5 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.1231, allocations: 7.984 kB / 493.5 MB, free: 8.164 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.0001953/0.1233, allocations: 221.7 kB / 493.7 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.665e-05/0.1234, allocations: 59.25 kB / 493.8 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007732/0.1241, allocations: 402.2 kB / 494.2 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1242, allocations: 7.984 kB / 494.2 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1242, allocations: 0 / 494.2 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1242, allocations: 0 / 494.2 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.1255, allocations: 0.9585 MB / 495.1 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1255, allocations: 0 / 495.1 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.1258, allocations: 47.95 kB / 495.2 MB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.1258, allocations: 4 kB / 495.2 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.1258, allocations: 7.984 kB / 495.2 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1258, allocations: 7.938 kB / 495.2 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1258, allocations: 0 / 495.2 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006921/0.1265, allocations: 0.5095 MB / 495.7 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.1267, allocations: 148.3 kB / 495.9 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/0.1267, allocations: 0 / 495.9 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.127, allocations: 27.91 kB / 495.9 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/0.127, allocations: 19.97 kB / 495.9 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.1271, allocations: 4 kB / 495.9 MB, free: 5.645 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006508/0.1277, allocations: 0.663 MB / 496.6 MB, free: 4.984 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1277, allocations: 0 / 496.6 MB, free: 4.984 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003485/0.1281, allocations: 60 kB / 496.6 MB, free: 4.926 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.0008696/0.129, allocations: 408.1 kB / 497 MB, free: 4.652 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005982/0.1296, allocations: 259.8 kB / 497.3 MB, free: 4.398 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1296, allocations: 0 / 497.3 MB, free: 4.398 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002895/0.1299, allocations: 148.3 kB / 497.4 MB, free: 4.254 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005254/0.1304, allocations: 85.02 kB / 497.5 MB, free: 4.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.1317, allocations: 1.013 MB / 498.5 MB, free: 3.133 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.1321, allocations: 0.8881 MB / 499.4 MB, free: 2.223 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002072/0.1323, allocations: 107.2 kB / 499.5 MB, free: 2.121 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.1325, allocations: 39.42 kB / 499.6 MB, free: 2.082 MB / 366.1 MB Notification: Performance of SimCode: time 1.433e-06/0.1325, allocations: 0 / 499.6 MB, free: 2.082 MB / 366.1 MB Notification: Performance of Templates: time 0.008242/0.1407, allocations: 4.464 MB / 0.4922 GB, free: 13.62 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches