Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000944/0.0009439, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 173.3 kB / 16.57 MB, free: 6.852 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.309/1.309, allocations: 205.4 MB / 222.7 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3145/0.3145, allocations: 43.55 MB / 314.5 MB, free: 9.047 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.000535/0.0005351, allocations: 12 kB / 383.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1082, allocations: 58.85 MB / 442.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.002209/0.1105, allocations: 1.314 MB / 444.1 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007168/0.1112, allocations: 287.8 kB / 444.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.444e-05/0.1113, allocations: 0 / 444.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005929/0.1119, allocations: 443.1 kB / 444.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.1123, allocations: 243.5 kB / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.1126, allocations: 91.86 kB / 445.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.1129, allocations: 115.8 kB / 445.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.113, allocations: 16.17 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.1131, allocations: 95.8 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.1134, allocations: 147.7 kB / 445.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1134, allocations: 0 / 445.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.353e-05/0.1135, allocations: 27.92 kB / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.879e-05/0.1136, allocations: 83.67 kB / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.451e-05/0.1137, allocations: 65.52 kB / 445.6 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.1139, allocations: 188 kB / 445.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1139, allocations: 4 kB / 445.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1139, allocations: 0 / 445.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.114, allocations: 0 / 445.8 MB, free: 10.21 MB / 382.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.0009126/0.1149, allocations: 0.5987 MB / 446.4 MB, free: 9.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.1149, allocations: 12.02 kB / 446.4 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.1151, allocations: 51.39 kB / 446.5 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.1155, allocations: 275.4 kB / 446.8 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1155, allocations: 8 kB / 446.8 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.1156, allocations: 0 / 446.8 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.1158, allocations: 57.69 kB / 446.8 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1158, allocations: 3.938 kB / 446.8 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1158, allocations: 3.984 kB / 446.8 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1158, allocations: 0 / 446.8 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.116, allocations: 51.86 kB / 446.9 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006601/0.1167, allocations: 392.6 kB / 447.3 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.1168, allocations: 46.56 kB / 447.3 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.1169, allocations: 4.094 kB / 447.3 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.1169, allocations: 34.55 kB / 447.3 MB, free: 8.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 3.456e-06/0.1169, allocations: 0 / 447.3 MB, free: 8.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009059/0.1178, allocations: 315.9 kB / 447.7 MB, free: 8.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.1179, allocations: 55.34 kB / 447.7 MB, free: 8.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008801/0.1188, allocations: 0.8691 MB / 448.6 MB, free: 7.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.1188, allocations: 25.7 kB / 448.6 MB, free: 7.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.119, allocations: 208.1 kB / 448.8 MB, free: 7.027 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.119, allocations: 19.66 kB / 448.8 MB, free: 7.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.119, allocations: 0 / 448.8 MB, free: 7.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1192, allocations: 370.8 kB / 449.2 MB, free: 6.637 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.1193, allocations: 35.97 kB / 449.2 MB, free: 6.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.1194, allocations: 47.97 kB / 449.3 MB, free: 6.555 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.1195, allocations: 32.22 kB / 449.3 MB, free: 6.523 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1195, allocations: 3.938 kB / 449.3 MB, free: 6.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002959/0.1198, allocations: 173.1 kB / 449.5 MB, free: 6.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1199, allocations: 7.953 kB / 449.5 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1199, allocations: 0 / 449.5 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1199, allocations: 0 / 449.5 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.12, allocations: 31.92 kB / 449.5 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.12, allocations: 0 / 449.5 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.257e-05/0.1201, allocations: 11.98 kB / 449.5 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1201, allocations: 4 kB / 449.5 MB, free: 6.289 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002074/0.1203, allocations: 213.8 kB / 449.7 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.1204, allocations: 39.44 kB / 449.8 MB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003804/0.1208, allocations: 189.4 kB / 450 MB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1208, allocations: 0 / 450 MB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.1208, allocations: 0 / 450 MB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1208, allocations: 11.92 kB / 450 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006742/0.1215, allocations: 0.5023 MB / 450.5 MB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1215, allocations: 0 / 450.5 MB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.973e-05/0.1216, allocations: 27.94 kB / 450.5 MB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1216, allocations: 288 / 450.5 MB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1216, allocations: 4 kB / 450.5 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1217, allocations: 0 / 450.5 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.1217, allocations: 3.984 kB / 450.5 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.122, allocations: 258.9 kB / 450.8 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.506e-05/0.1221, allocations: 112.5 kB / 450.9 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.1222, allocations: 11.95 kB / 450.9 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.1223, allocations: 15.98 kB / 450.9 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.1223, allocations: 7.984 kB / 450.9 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.1224, allocations: 0 / 450.9 MB, free: 4.797 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006057/0.123, allocations: 0.6511 MB / 451.6 MB, free: 4.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.123, allocations: 0 / 451.6 MB, free: 4.148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000257/0.1232, allocations: 24 kB / 451.6 MB, free: 4.125 MB / 382.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 (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.0008528/0.1241, allocations: 410.1 kB / 452 MB, free: 3.746 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003007/0.1244, allocations: 95.88 kB / 452.1 MB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1244, allocations: 3.938 kB / 452.1 MB, free: 3.648 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.1245, allocations: 51.97 kB / 452.1 MB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.1248, allocations: 17.83 kB / 452.1 MB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.1259, allocations: 0.8415 MB / 453 MB, free: 2.711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.1264, allocations: 0.8301 MB / 453.8 MB, free: 1.855 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.343e-05/0.1265, allocations: 12.97 kB / 453.8 MB, free: 1.844 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.1265, allocations: 11.44 kB / 453.8 MB, free: 1.832 MB / 382.1 MB Notification: Performance of SimCode: time 4.7e-07/0.1265, allocations: 4 kB / 453.8 MB, free: 1.828 MB / 382.1 MB Notification: Performance of Templates: time 0.004095/0.1306, allocations: 1.443 MB / 455.3 MB, free: 392 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches