Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009914/0.0009914, allocations: 95.92 kB / 17 MB, free: 6.355 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.001252/0.001252, allocations: 185.5 kB / 17.89 MB, free: 5.926 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.435/1.435, allocations: 223.3 MB / 241.9 MB, free: 368 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.236/0.236, allocations: 44.25 MB / 337.3 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003228, allocations: 9.25 kB / 409.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1331, allocations: 61.93 MB / 471.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.001981/0.1351, allocations: 1.329 MB / 472.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000755/0.1359, allocations: 411.5 kB / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.79e-05/0.136, allocations: 0 / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.1363, allocations: 59.86 kB / 473.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.1364, allocations: 51.81 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004336/0.1369, allocations: 155.2 kB / 473.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.137, allocations: 63.83 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1371, allocations: 31.95 kB / 473.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.015e-05/0.1372, allocations: 23.86 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.347e-05/0.1373, allocations: 47.75 kB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.1373, allocations: 7.938 kB / 473.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.251e-05/0.1374, allocations: 28 kB / 473.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.197e-05/0.1375, allocations: 23.92 kB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.1375, allocations: 29.7 kB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.1377, allocations: 92.08 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1377, allocations: 0 / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1377, allocations: 0 / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1377, allocations: 0 / 473.9 MB, free: 11.38 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.0004916/0.1382, allocations: 395 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1382, allocations: 8.562 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.1383, allocations: 7.906 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.1385, allocations: 193.1 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1385, allocations: 8 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.1385, allocations: 4 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.1387, allocations: 77.55 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1387, allocations: 0 / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.1387, allocations: 4 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1387, allocations: 3.938 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.1389, allocations: 47.97 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.1393, allocations: 332.6 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.1396, allocations: 62.55 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.485e-05/0.1397, allocations: 28.97 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.1397, allocations: 4 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.1397, allocations: 34.56 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1397, allocations: 0 / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001424/0.1412, allocations: 497.3 kB / 475.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.1412, allocations: 55.39 kB / 475.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.1414, allocations: 178.4 kB / 475.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1415, allocations: 29.7 kB / 475.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.991e-05/0.1415, allocations: 108 kB / 476 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.1416, allocations: 39.45 kB / 476 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.1416, allocations: 0 / 476 MB, free: 9.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1418, allocations: 322.8 kB / 476.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.1419, allocations: 63.95 kB / 476.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.142, allocations: 63.89 kB / 476.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.1422, allocations: 76.17 kB / 476.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1422, allocations: 0 / 476.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003387/0.1425, allocations: 181.5 kB / 476.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1426, allocations: 8 kB / 476.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1426, allocations: 0 / 476.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1426, allocations: 0 / 476.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1427, allocations: 27.98 kB / 476.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.1427, allocations: 0 / 476.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.1428, allocations: 19.98 kB / 476.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.1428, allocations: 3.953 kB / 476.7 MB, free: 8.336 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.0001204/0.1429, allocations: 129.8 kB / 476.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.143, allocations: 7.906 kB / 476.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004262/0.1434, allocations: 218.1 kB / 477.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1434, allocations: 7.984 kB / 477.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1434, allocations: 0 / 477.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1434, allocations: 0 / 477.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006703/0.1441, allocations: 0.5117 MB / 477.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1441, allocations: 4 kB / 477.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.791e-05/0.1442, allocations: 31.98 kB / 477.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1442, allocations: 0 / 477.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.1443, allocations: 4 kB / 477.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1443, allocations: 3.953 kB / 477.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1443, allocations: 0 / 477.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.1447, allocations: 292.9 kB / 477.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.1447, allocations: 85.02 kB / 478 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.1448, allocations: 8 kB / 478 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.532e-05/0.1449, allocations: 11.98 kB / 478 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.1449, allocations: 15.92 kB / 478.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.1449, allocations: 8 kB / 478.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.145, allocations: 137.5 kB / 478.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1451, allocations: 8 kB / 478.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.1453, allocations: 20 kB / 478.2 MB, free: 6.734 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.001061/0.1464, allocations: 476 kB / 478.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000355/0.1468, allocations: 139.8 kB / 478.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1468, allocations: 4 kB / 478.8 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.1469, allocations: 75.89 kB / 478.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.1473, allocations: 16 kB / 478.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005827/0.1479, allocations: 323 kB / 479.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.1482, allocations: 0.7082 MB / 479.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.1483, allocations: 40.38 kB / 480 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.1484, allocations: 11.44 kB / 480 MB, free: 5.082 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1484, allocations: 3.938 kB / 480 MB, free: 5.078 MB / 350.1 MB Notification: Performance of Templates: time 0.004147/0.1525, allocations: 1.471 MB / 481.5 MB, free: 3.621 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches