Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 92.12 kB / 16.98 MB, free: 6.398 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.00135/0.00135, allocations: 183.7 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2311/0.2311, allocations: 44.23 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002952/0.0002951, allocations: 20.62 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1191, allocations: 61.91 MB / 471.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.001836/0.121, allocations: 1.326 MB / 472.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006082/0.1216, allocations: 379.5 kB / 473.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.723e-05/0.1217, allocations: 0 / 473.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.1219, allocations: 51.84 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.122, allocations: 47.83 kB / 473.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.1223, allocations: 119.7 kB / 473.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.1225, allocations: 39.95 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.19e-05/0.1225, allocations: 11.98 kB / 473.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.039e-05/0.1226, allocations: 31.84 kB / 473.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.847e-05/0.1227, allocations: 31.84 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.1227, allocations: 4 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.887e-05/0.1228, allocations: 27.98 kB / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.569e-05/0.1229, allocations: 23.91 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.27e-05/0.1229, allocations: 33.7 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.123, allocations: 80.11 kB / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.1231, allocations: 0 / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1231, allocations: 0 / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1231, allocations: 3.938 kB / 473.6 MB, free: 11.52 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004611/0.1235, allocations: 406.9 kB / 474 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.1236, allocations: 8.562 kB / 474 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.1236, allocations: 11.91 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.1238, allocations: 194.9 kB / 474.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1238, allocations: 4 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.1239, allocations: 8 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.124, allocations: 69.56 kB / 474.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.124, allocations: 0 / 474.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.1241, allocations: 0 / 474.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.1241, allocations: 4 kB / 474.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.1242, allocations: 51.95 kB / 474.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.1246, allocations: 308.6 kB / 474.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.1248, allocations: 58.56 kB / 474.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.1249, allocations: 4 kB / 474.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.1249, allocations: 30.56 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1249, allocations: 0 / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001482/0.1264, allocations: 472.9 kB / 475.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.1264, allocations: 51.41 kB / 475.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.1267, allocations: 197.8 kB / 475.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1267, allocations: 29.7 kB / 475.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.1268, allocations: 96.14 kB / 475.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.1268, allocations: 35.45 kB / 475.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.1268, allocations: 0 / 475.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.127, allocations: 330.8 kB / 476 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.1271, allocations: 51.97 kB / 476 MB, free: 8.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.1272, allocations: 47.97 kB / 476.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.1274, allocations: 55.97 kB / 476.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1274, allocations: 4 kB / 476.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000307/0.1277, allocations: 149.5 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.1277, allocations: 8 kB / 476.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1278, allocations: 0 / 476.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1278, allocations: 7.938 kB / 476.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1279, allocations: 31.97 kB / 476.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1279, allocations: 0 / 476.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.011e-05/0.128, allocations: 12 kB / 476.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.128, allocations: 15.92 kB / 476.3 MB, free: 8.613 MB / 350.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 (11): * Single equations (assignments): 11 * 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.0001019/0.1281, allocations: 125.8 kB / 476.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.1282, allocations: 15.81 kB / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003766/0.1286, allocations: 182.8 kB / 476.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1286, allocations: 3.984 kB / 476.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.1286, allocations: 4 kB / 476.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1286, allocations: 0 / 476.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006557/0.1293, allocations: 499.9 kB / 477.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1293, allocations: 0 / 477.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.977e-05/0.1294, allocations: 32.05 kB / 477.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1294, allocations: 0 / 477.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.1294, allocations: 4 kB / 477.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.1294, allocations: 0 / 477.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1294, allocations: 3.953 kB / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/0.1298, allocations: 293 kB / 477.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/0.1299, allocations: 92.97 kB / 477.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.1299, allocations: 7.984 kB / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.179e-05/0.13, allocations: 8 kB / 477.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.13, allocations: 15.98 kB / 477.6 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.13, allocations: 0 / 477.6 MB, free: 7.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.1302, allocations: 143.2 kB / 477.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1302, allocations: 0 / 477.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.1304, allocations: 31.98 kB / 477.8 MB, free: 7.051 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001012/0.1315, allocations: 458.6 kB / 478.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003256/0.1318, allocations: 123.9 kB / 478.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1318, allocations: 0 / 478.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.132, allocations: 71.91 kB / 478.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.1322, allocations: 23.34 kB / 478.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/0.1327, allocations: 279.2 kB / 478.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.133, allocations: 0.7082 MB / 479.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.719e-05/0.1331, allocations: 24.39 kB / 479.4 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/0.1331, allocations: 15.44 kB / 479.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1331, allocations: 0 / 479.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of Templates: time 0.003884/0.137, allocations: 1.438 MB / 480.9 MB, free: 4.062 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches