Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008645/0.0008647, allocations: 98.39 kB / 17 MB, free: 6.414 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.0008419/0.000842, allocations: 188.6 kB / 17.89 MB, free: 5.945 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.424/1.424, allocations: 223.2 MB / 241.9 MB, free: 312 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.2197/0.2197, allocations: 44.25 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003502, allocations: 8 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1413, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.002487/0.1439, allocations: 1.326 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007278/0.1446, allocations: 395.5 kB / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.958e-05/0.1447, allocations: 8 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.1449, allocations: 51.86 kB / 473.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.1451, allocations: 43.89 kB / 473.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.1454, allocations: 114.5 kB / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.1456, allocations: 59.83 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1457, allocations: 27.91 kB / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.139e-05/0.1458, allocations: 19.92 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.1459, allocations: 43.77 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.1459, allocations: 0 / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.146, allocations: 43.98 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.064e-05/0.1461, allocations: 15.92 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.1461, allocations: 37.64 kB / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.1463, allocations: 83.86 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1463, allocations: 0 / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1463, allocations: 4 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1463, allocations: 0 / 473.8 MB, free: 11.43 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.0005439/0.1469, allocations: 391.3 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.1469, allocations: 8.562 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.147, allocations: 11.91 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.1472, allocations: 195.4 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.1472, allocations: 4 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.1473, allocations: 8 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.1474, allocations: 65.62 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1475, allocations: 4 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1475, allocations: 4 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.1475, allocations: 0 / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.1476, allocations: 51.89 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.1481, allocations: 300.7 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.1484, allocations: 62.55 kB / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.458e-05/0.1485, allocations: 36.94 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.1485, allocations: 0 / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.1485, allocations: 34.56 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.1485, allocations: 3.938 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001438/0.15, allocations: 460.9 kB / 475.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.15, allocations: 51.41 kB / 475.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.1503, allocations: 190.4 kB / 475.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.1503, allocations: 29.7 kB / 475.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.837e-05/0.1504, allocations: 108 kB / 475.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.1504, allocations: 35.45 kB / 475.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.1504, allocations: 0 / 475.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1506, allocations: 322.8 kB / 476.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.1507, allocations: 55.95 kB / 476.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.1508, allocations: 47.91 kB / 476.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.151, allocations: 59.92 kB / 476.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.151, allocations: 0 / 476.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002925/0.1513, allocations: 154.1 kB / 476.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1513, allocations: 8 kB / 476.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1513, allocations: 0 / 476.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1513, allocations: 0 / 476.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1515, allocations: 27.98 kB / 476.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.1515, allocations: 4 kB / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.997e-05/0.1515, allocations: 19.98 kB / 476.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.1516, allocations: 7.953 kB / 476.5 MB, free: 8.5 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.0001095/0.1517, allocations: 129.8 kB / 476.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.1517, allocations: 15.89 kB / 476.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003803/0.1521, allocations: 174.2 kB / 476.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1521, allocations: 0 / 476.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1521, allocations: 0 / 476.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.1521, allocations: 3.984 kB / 476.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006337/0.1528, allocations: 484 kB / 477.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.1528, allocations: 4 kB / 477.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.1529, allocations: 39.98 kB / 477.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1529, allocations: 0 / 477.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.1529, allocations: 0 / 477.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1529, allocations: 7.953 kB / 477.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1529, allocations: 0 / 477.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.1533, allocations: 269.6 kB / 477.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.1534, allocations: 88.95 kB / 477.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.1534, allocations: 0 / 477.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.416e-05/0.1535, allocations: 23.98 kB / 477.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/0.1536, allocations: 15.88 kB / 477.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.1536, allocations: 4 kB / 477.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.1537, allocations: 145.5 kB / 477.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1537, allocations: 0 / 477.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.154, allocations: 24 kB / 477.9 MB, free: 6.984 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.001132/0.1551, allocations: 469.6 kB / 478.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003381/0.1555, allocations: 127.9 kB / 478.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1555, allocations: 0 / 478.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.1556, allocations: 68.03 kB / 478.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.156, allocations: 15.98 kB / 478.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005348/0.1565, allocations: 302.8 kB / 478.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.1568, allocations: 0.7083 MB / 479.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.434e-05/0.1569, allocations: 24.41 kB / 479.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.157, allocations: 11.44 kB / 479.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.157, allocations: 0 / 479.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of Templates: time 0.004109/0.1611, allocations: 1.394 MB / 481 MB, free: 4.023 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches