Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009139/0.000914, allocations: 92.72 kB / 17.35 MB, free: 6.375 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.0008859/0.0008859, allocations: 181.8 kB / 18.26 MB, free: 5.52 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.516/1.516, allocations: 223.3 MB / 242.3 MB, free: 244 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.2172/0.2172, allocations: 44.25 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003093, allocations: 8.812 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1295, allocations: 61.93 MB / 472.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.001838/0.1313, allocations: 1.371 MB / 473.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007623/0.1321, allocations: 471.1 kB / 474.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.006e-05/0.1322, allocations: 0 / 474.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.1324, allocations: 15.92 kB / 474.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.1325, allocations: 35.84 kB / 474.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.1329, allocations: 162.9 kB / 474.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.133, allocations: 91.69 kB / 474.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.1331, allocations: 20.22 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.134e-05/0.1332, allocations: 27.86 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.107e-05/0.1333, allocations: 31.84 kB / 474.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.1333, allocations: 4 kB / 474.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1334, allocations: 51.97 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.219e-05/0.1335, allocations: 19.86 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.489e-05/0.1335, allocations: 61.42 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.1337, allocations: 111.9 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1337, allocations: 0 / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1337, allocations: 0 / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.1337, allocations: 0 / 474.7 MB, free: 10.89 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.0005442/0.1343, allocations: 419.3 kB / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1343, allocations: 8.031 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.1344, allocations: 8.844 kB / 475.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.1346, allocations: 198.3 kB / 475.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1346, allocations: 8.375 kB / 475.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.1346, allocations: 8.312 kB / 475.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.1349, allocations: 103.5 kB / 475.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1349, allocations: 3.984 kB / 475.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1349, allocations: 4 kB / 475.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1349, allocations: 0 / 475.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003423/0.1353, allocations: 95.91 kB / 475.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005718/0.1359, allocations: 356.7 kB / 475.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.1361, allocations: 82.53 kB / 476 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.1363, allocations: 64.94 kB / 476 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1364, allocations: 0 / 476 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.1364, allocations: 30.56 kB / 476.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.1364, allocations: 3.938 kB / 476.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001746/0.1382, allocations: 0.5046 MB / 476.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.1382, allocations: 81.11 kB / 476.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.1384, allocations: 144.2 kB / 476.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.1384, allocations: 25.7 kB / 476.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.1384, allocations: 104.1 kB / 476.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.1385, allocations: 27.56 kB / 476.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.1385, allocations: 17.7 kB / 477 MB, free: 8.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.1386, allocations: 322.8 kB / 477.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.139, allocations: 103.9 kB / 477.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.1393, allocations: 113.6 kB / 477.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006285/0.1399, allocations: 224.9 kB / 477.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.14, allocations: 0 / 477.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006963/0.1407, allocations: 249.4 kB / 478 MB, free: 7.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1407, allocations: 4 kB / 478 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.1407, allocations: 4 kB / 478 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1407, allocations: 0 / 478 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.1409, allocations: 51.95 kB / 478 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.141, allocations: 0 / 478 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.1411, allocations: 43.81 kB / 478.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.1412, allocations: 4 kB / 478.1 MB, free: 7.297 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 0.0001027/0.1413, allocations: 122.4 kB / 478.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.1413, allocations: 7.906 kB / 478.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007493/0.1421, allocations: 266.2 kB / 478.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1421, allocations: 0 / 478.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1421, allocations: 4 kB / 478.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1421, allocations: 3.938 kB / 478.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.1431, allocations: 0.553 MB / 479 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.1431, allocations: 4.281 kB / 479 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.1433, allocations: 43.95 kB / 479.1 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.1433, allocations: 7.938 kB / 479.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.1434, allocations: 3.938 kB / 479.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.1434, allocations: 0 / 479.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1434, allocations: 7.938 kB / 479.1 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007319/0.1441, allocations: 343.2 kB / 479.4 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.1442, allocations: 96.84 kB / 479.5 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.1442, allocations: 4 kB / 479.5 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.1444, allocations: 32.34 kB / 479.5 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.1445, allocations: 11.98 kB / 479.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.1445, allocations: 8 kB / 479.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.421e-05/0.1446, allocations: 107.2 kB / 479.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1446, allocations: 0 / 479.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.1449, allocations: 32 kB / 479.7 MB, free: 5.555 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.001029/0.1459, allocations: 456.6 kB / 480.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000742/0.1466, allocations: 215.8 kB / 480.4 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1467, allocations: 3.938 kB / 480.4 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003481/0.147, allocations: 116 kB / 480.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.1474, allocations: 20.11 kB / 480.5 MB, free: 4.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.1479, allocations: 265 kB / 480.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.1482, allocations: 0.712 MB / 481.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.1484, allocations: 36.39 kB / 481.5 MB, free: 3.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.1484, allocations: 15.44 kB / 481.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1484, allocations: 0 / 481.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of Templates: time 0.005054/0.1535, allocations: 1.962 MB / 483.5 MB, free: 1.906 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches