Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 96.48 kB / 16.99 MB, free: 5.938 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.0009528/0.0009527, allocations: 180.9 kB / 17.87 MB, free: 5.609 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.473/1.473, 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.2044/0.2044, allocations: 44.22 MB / 337.1 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003713, allocations: 12 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1359, allocations: 61.93 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.002252/0.1382, allocations: 1.31 MB / 472.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000802/0.139, allocations: 375.6 kB / 473.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.165e-05/0.1391, allocations: 0 / 473.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005819/0.1397, allocations: 443.2 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003729/0.1401, allocations: 239.5 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.1404, allocations: 110.9 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.1406, allocations: 119.7 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1408, allocations: 20.17 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.1409, allocations: 99.78 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.1411, allocations: 143.7 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.1411, allocations: 0 / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.6e-05/0.1412, allocations: 23.98 kB / 474.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.1413, allocations: 79.75 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.1414, allocations: 73.45 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.1416, allocations: 184 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1417, allocations: 4 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1417, allocations: 0 / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1417, allocations: 0 / 474.6 MB, free: 10.53 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008014/0.1425, allocations: 0.5988 MB / 475.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1425, allocations: 8.562 kB / 475.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.466e-05/0.1426, allocations: 47.44 kB / 475.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.143, allocations: 275.3 kB / 475.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.143, allocations: 4 kB / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.143, allocations: 4 kB / 475.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.1432, allocations: 65.61 kB / 475.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1432, allocations: 0 / 475.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1432, allocations: 4 kB / 475.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1433, allocations: 0 / 475.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.1434, allocations: 43.97 kB / 475.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005841/0.144, allocations: 388.6 kB / 476.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.1442, allocations: 54.55 kB / 476.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1442, allocations: 0 / 476.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.1442, allocations: 30.56 kB / 476.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1442, allocations: 0 / 476.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009108/0.1451, allocations: 320 kB / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.1452, allocations: 55.39 kB / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008458/0.146, allocations: 0.8574 MB / 477.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.1461, allocations: 29.7 kB / 477.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.1462, allocations: 216 kB / 477.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.1463, allocations: 31.7 kB / 477.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.1463, allocations: 0 / 477.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1464, allocations: 362.8 kB / 478 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.1466, allocations: 39.97 kB / 478 MB, free: 6.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.1467, allocations: 43.97 kB / 478.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.1468, allocations: 39.92 kB / 478.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1468, allocations: 0 / 478.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003173/0.1471, allocations: 161.1 kB / 478.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1472, allocations: 4 kB / 478.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.1472, allocations: 3.938 kB / 478.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1472, allocations: 0 / 478.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.1473, allocations: 31.97 kB / 478.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.1474, allocations: 3.938 kB / 478.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.827e-05/0.1474, allocations: 12 kB / 478.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1475, allocations: 7.984 kB / 478.3 MB, free: 6.617 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 (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.0001963/0.1477, allocations: 217.7 kB / 478.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.1477, allocations: 39.53 kB / 478.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003999/0.1481, allocations: 185.6 kB / 478.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1481, allocations: 4 kB / 478.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1481, allocations: 0 / 478.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1482, allocations: 0 / 478.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006741/0.1488, allocations: 0.5101 MB / 479.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1488, allocations: 4 kB / 479.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.742e-05/0.149, allocations: 24.27 kB / 479.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.149, allocations: 3.984 kB / 479.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.149, allocations: 0 / 479.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.149, allocations: 0 / 479.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.149, allocations: 0 / 479.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.1494, allocations: 267 kB / 479.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.934e-05/0.1495, allocations: 116.5 kB / 479.7 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.1495, allocations: 7.984 kB / 479.7 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1496, allocations: 8 kB / 479.7 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.1497, allocations: 7.984 kB / 479.7 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.1497, allocations: 0 / 479.7 MB, free: 5.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006406/0.1503, allocations: 0.6511 MB / 480.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1503, allocations: 0 / 480.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1506, allocations: 28 kB / 480.4 MB, free: 4.453 MB / 350.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.0009937/0.1516, allocations: 406 kB / 480.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003328/0.1519, allocations: 91.94 kB / 480.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.152, allocations: 0 / 480.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.1521, allocations: 55.91 kB / 480.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.1524, allocations: 25.91 kB / 481 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.1535, allocations: 0.8415 MB / 481.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.154, allocations: 0.8301 MB / 482.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.601e-05/0.154, allocations: 8.969 kB / 482.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.1541, allocations: 19.44 kB / 482.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1541, allocations: 0 / 482.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of Templates: time 0.004546/0.1586, allocations: 1.431 MB / 484.1 MB, free: 0.8555 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches