Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31") translateModel(ModelicaTest.Tables.CombiTable2D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001496, allocations: 102.9 kB / 15.98 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002409/0.002409, allocations: 188.7 kB / 16.9 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.1 MB / 222.8 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2144/0.2144, allocations: 43.51 MB / 313.6 MB, free: 0.7109 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 69.48 kB / 382.2 MB, free: 56.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1134, allocations: 57.79 MB / 440 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test31): time 0.003185/0.1166, allocations: 1.665 MB / 441.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1177, allocations: 0.9181 MB / 442.6 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.134e-05/0.1177, allocations: 4 kB / 442.6 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.118, allocations: 15.94 kB / 442.6 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.1182, allocations: 39.91 kB / 442.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.1185, allocations: 107.4 kB / 442.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.1186, allocations: 63.77 kB / 442.8 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1187, allocations: 16.41 kB / 442.8 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.765e-05/0.1188, allocations: 27.92 kB / 442.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.1189, allocations: 31.83 kB / 442.9 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.1189, allocations: 4 kB / 442.9 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.133e-05/0.119, allocations: 51.98 kB / 442.9 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.1191, allocations: 23.84 kB / 443 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.1191, allocations: 19.88 kB / 443 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.1193, allocations: 91.77 kB / 443.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.1193, allocations: 0 / 443.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1193, allocations: 0 / 443.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1193, allocations: 0 / 443.1 MB, free: 4.27 MB / 318.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.0004408/0.1197, allocations: 391.2 kB / 443.5 MB, free: 3.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1198, allocations: 15.89 kB / 443.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.1198, allocations: 8.844 kB / 443.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.12, allocations: 188.2 kB / 443.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.12, allocations: 4.375 kB / 443.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.12, allocations: 4.312 kB / 443.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.1202, allocations: 75.33 kB / 443.7 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1202, allocations: 4 kB / 443.8 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1202, allocations: 0 / 443.8 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1203, allocations: 0 / 443.8 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.1204, allocations: 35.97 kB / 443.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002743/0.1207, allocations: 288.7 kB / 444.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.1208, allocations: 46.56 kB / 444.1 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.758e-05/0.1208, allocations: 20.94 kB / 444.1 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.1209, allocations: 4 kB / 444.1 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.1209, allocations: 30.56 kB / 444.2 MB, free: 3.008 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1209, allocations: 0 / 444.2 MB, free: 3.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006413/0.1216, allocations: 205.3 kB / 444.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.1216, allocations: 81.11 kB / 444.4 MB, free: 2.703 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.939e-05/0.1217, allocations: 133.8 kB / 444.6 MB, free: 2.562 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.1217, allocations: 25.7 kB / 444.6 MB, free: 2.531 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.1218, allocations: 96.03 kB / 444.7 MB, free: 2.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.1218, allocations: 31.59 kB / 444.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.1218, allocations: 17.72 kB / 444.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.972e-05/0.1219, allocations: 322.8 kB / 445.1 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.485e-05/0.122, allocations: 27.97 kB / 445.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.225e-05/0.1221, allocations: 49.62 kB / 445.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.1223, allocations: 76.84 kB / 445.2 MB, free: 1.895 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1223, allocations: 0 / 445.2 MB, free: 1.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000211/0.1225, allocations: 105.6 kB / 445.3 MB, free: 1.785 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1225, allocations: 8 kB / 445.3 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1225, allocations: 288 / 445.3 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1226, allocations: 4 kB / 445.3 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.1227, allocations: 19.92 kB / 445.3 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.1227, allocations: 7.984 kB / 445.4 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.212e-05/0.1227, allocations: 15.94 kB / 445.4 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.1228, allocations: 4.312 kB / 445.4 MB, free: 1.727 MB / 318.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 (7): * Single equations (assignments): 7 * 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 6.614e-05/0.1228, allocations: 125.8 kB / 445.5 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.1229, allocations: 11.89 kB / 445.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.1231, allocations: 129.9 kB / 445.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1231, allocations: 0 / 445.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1232, allocations: 0 / 445.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1232, allocations: 3.938 kB / 445.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.1235, allocations: 390.4 kB / 446 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1235, allocations: 0 / 446 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.894e-05/0.1236, allocations: 19.98 kB / 446 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1236, allocations: 0 / 446 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.1236, allocations: 7.938 kB / 446 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1236, allocations: 0 / 446 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1237, allocations: 0 / 446 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.1239, allocations: 207.4 kB / 446.3 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.16e-05/0.1239, allocations: 85 kB / 446.3 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.1239, allocations: 3.938 kB / 446.3 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.588e-05/0.124, allocations: 11.98 kB / 446.3 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.1241, allocations: 8 kB / 446.4 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.1241, allocations: 0 / 446.4 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.051e-05/0.1241, allocations: 111 kB / 446.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1241, allocations: 4 kB / 446.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1244, allocations: 24 kB / 446.5 MB, free: 0.5 MB / 318.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 (7): * Single equations (assignments): 7 * 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.0009258/0.1253, allocations: 432.9 kB / 446.9 MB, free: 152 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002884/0.1256, allocations: 87.88 kB / 447 MB, free: 64 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1256, allocations: 0 / 447 MB, free: 64 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.1258, allocations: 43.97 kB / 447 MB, free: 20 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.1261, allocations: 19.97 kB / 447.1 MB, free: 16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/0.1266, allocations: 210 kB / 447.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.127, allocations: 0.6963 MB / 448 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.91e-05/0.127, allocations: 16.28 kB / 448 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.1271, allocations: 19.42 kB / 448 MB, free: 15.01 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1271, allocations: 0 / 448 MB, free: 15.01 MB / 334.1 MB Notification: Performance of Templates: time 0.004228/0.1313, allocations: 1.442 MB / 449.4 MB, free: 13.57 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches