Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001103/0.001103, allocations: 192 kB / 18.56 MB, free: 4.434 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.293/1.293, allocations: 222.9 MB / 242.2 MB, free: 15.14 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.1954/0.1954, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 65.97 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1356, allocations: 60.83 MB / 469.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003646/0.1393, allocations: 1.646 MB / 470.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008395/0.1402, allocations: 455 kB / 471.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.214e-05/0.1403, allocations: 0 / 471.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.1405, allocations: 19.86 kB / 471.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.1407, allocations: 47.72 kB / 471.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.1411, allocations: 138.6 kB / 471.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.1412, allocations: 79.77 kB / 471.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.1414, allocations: 24.16 kB / 471.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.642e-05/0.1415, allocations: 35.84 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.356e-05/0.1416, allocations: 35.84 kB / 471.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.1416, allocations: 8 kB / 471.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.1417, allocations: 55.91 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.962e-05/0.1418, allocations: 19.92 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.668e-05/0.1419, allocations: 31.8 kB / 471.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.1421, allocations: 116 kB / 471.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1421, allocations: 0 / 471.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1421, allocations: 4 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1421, allocations: 0 / 472 MB, free: 11.63 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.0006602/0.1428, allocations: 415.1 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1428, allocations: 8.031 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.1429, allocations: 8.844 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.1431, allocations: 195.6 kB / 472.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1431, allocations: 8.359 kB / 472.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.1432, allocations: 384 / 472.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.1435, allocations: 99.48 kB / 472.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1435, allocations: 0 / 472.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.1435, allocations: 4 kB / 472.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1435, allocations: 4 kB / 472.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.1438, allocations: 67.92 kB / 472.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.1443, allocations: 308.6 kB / 473 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.1445, allocations: 70.53 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.1447, allocations: 48.94 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.1447, allocations: 0 / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.1448, allocations: 34.5 kB / 473.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.1448, allocations: 0 / 473.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001604/0.1464, allocations: 372.9 kB / 473.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.1465, allocations: 81.11 kB / 473.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.1466, allocations: 146 kB / 473.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.1466, allocations: 29.7 kB / 473.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.1467, allocations: 96.16 kB / 473.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.1467, allocations: 35.53 kB / 473.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.1468, allocations: 25.72 kB / 474 MB, free: 9.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1469, allocations: 322.8 kB / 474.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.1472, allocations: 63.92 kB / 474.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.1475, allocations: 101.6 kB / 474.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005098/0.148, allocations: 140.7 kB / 474.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.148, allocations: 4.031 kB / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005856/0.1486, allocations: 189.4 kB / 474.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1486, allocations: 4 kB / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1486, allocations: 0 / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.1486, allocations: 4 kB / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.1489, allocations: 47.89 kB / 474.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.1489, allocations: 0 / 474.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.149, allocations: 27.89 kB / 474.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.149, allocations: 4 kB / 474.9 MB, free: 8.488 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.17e-05/0.1491, allocations: 121.8 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.1492, allocations: 15.91 kB / 475 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006463/0.1498, allocations: 198.2 kB / 475.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1498, allocations: 4 kB / 475.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1499, allocations: 4 kB / 475.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1499, allocations: 4.312 kB / 475.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008719/0.1508, allocations: 494.2 kB / 475.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1508, allocations: 0 / 475.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.1509, allocations: 39.95 kB / 475.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.151, allocations: 3.938 kB / 475.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.151, allocations: 384 / 475.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.151, allocations: 0 / 475.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.151, allocations: 4 kB / 475.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006453/0.1516, allocations: 291.2 kB / 476 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.1517, allocations: 84.95 kB / 476.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.1517, allocations: 8 kB / 476.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.1519, allocations: 23.97 kB / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.152, allocations: 11.98 kB / 476.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.152, allocations: 4 kB / 476.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.006e-05/0.1521, allocations: 113.8 kB / 476.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1521, allocations: 0 / 476.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.1523, allocations: 32 kB / 476.3 MB, free: 6.957 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001024/0.1534, allocations: 450.3 kB / 476.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006828/0.154, allocations: 167.7 kB / 476.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1541, allocations: 0 / 476.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002849/0.1544, allocations: 83.86 kB / 477 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.1547, allocations: 19.98 kB / 477 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004653/0.1552, allocations: 213.9 kB / 477.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.1556, allocations: 0.7041 MB / 477.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.902e-05/0.1557, allocations: 12.41 kB / 477.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.1558, allocations: 15.44 kB / 477.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1558, allocations: 0 / 477.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of Templates: time 0.005083/0.1609, allocations: 2.105 MB / 480 MB, free: 3.332 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches