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.001422/0.001427, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001583/0.001583, allocations: 194 kB / 18.12 MB, free: 5.363 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.423/1.423, allocations: 222.9 MB / 241.8 MB, free: 15.58 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.2253/0.2253, allocations: 44.17 MB / 336.1 MB, free: 3.043 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001298, allocations: 64.12 kB / 407.7 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1217, allocations: 60.83 MB / 468.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003256/0.125, allocations: 1.711 MB / 470.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1261, allocations: 455 kB / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/0.1262, allocations: 0 / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.1264, allocations: 15.92 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.1266, allocations: 39.84 kB / 470.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.127, allocations: 123.7 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.1272, allocations: 75.77 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.938e-05/0.1273, allocations: 24.2 kB / 470.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.768e-05/0.1273, allocations: 31.8 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.1274, allocations: 31.84 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.1274, allocations: 4 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.1276, allocations: 51.97 kB / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.1276, allocations: 19.92 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.1277, allocations: 31.78 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.1279, allocations: 108 kB / 471.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1279, allocations: 0 / 471.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1279, allocations: 0 / 471.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1279, allocations: 4 kB / 471.2 MB, free: 12.14 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.0005813/0.1285, allocations: 411.1 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1286, allocations: 12.03 kB / 471.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.1286, allocations: 8.844 kB / 471.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.1288, allocations: 196.2 kB / 471.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.1288, allocations: 384 / 471.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.1289, allocations: 8.359 kB / 471.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.1291, allocations: 95.48 kB / 471.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1292, allocations: 7.938 kB / 471.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1292, allocations: 0 / 471.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1292, allocations: 0 / 471.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.1295, allocations: 67.92 kB / 472 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.13, allocations: 312.7 kB / 472.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.1302, allocations: 66.47 kB / 472.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.1304, allocations: 52.94 kB / 472.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.1304, allocations: 0 / 472.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.1305, allocations: 34.56 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.011e-06/0.1305, allocations: 0 / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001582/0.1321, allocations: 376.9 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.1321, allocations: 77.11 kB / 472.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.1323, allocations: 152.8 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.1323, allocations: 25.7 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.1324, allocations: 96.08 kB / 473.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.1324, allocations: 31.55 kB / 473.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/0.1325, allocations: 29.66 kB / 473.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1326, allocations: 326.8 kB / 473.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.1329, allocations: 67.92 kB / 473.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.1332, allocations: 89.62 kB / 473.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005045/0.1337, allocations: 140.7 kB / 473.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1337, allocations: 0 / 473.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006126/0.1343, allocations: 193.4 kB / 474 MB, free: 9.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1343, allocations: 6.5 kB / 474 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1343, allocations: 4 kB / 474 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1344, allocations: 0 / 474 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.1346, allocations: 47.89 kB / 474.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1346, allocations: 0 / 474.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.1348, allocations: 32.27 kB / 474.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.1348, allocations: 0 / 474.1 MB, free: 9 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.0001032/0.1349, allocations: 122.8 kB / 474.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.1349, allocations: 7.906 kB / 474.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006441/0.1356, allocations: 210.1 kB / 474.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1356, allocations: 0 / 474.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.1356, allocations: 4 kB / 474.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1356, allocations: 7.938 kB / 474.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008767/0.1365, allocations: 494.3 kB / 475 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1365, allocations: 0 / 475 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.1367, allocations: 39.89 kB / 475 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1367, allocations: 3.938 kB / 475 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1368, allocations: 8 kB / 475 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1368, allocations: 0 / 475 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1368, allocations: 0 / 475 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006546/0.1374, allocations: 283.2 kB / 475.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.1375, allocations: 88.95 kB / 475.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.1375, allocations: 4 kB / 475.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.1377, allocations: 27.97 kB / 475.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.1377, allocations: 7.984 kB / 475.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.1378, allocations: 4 kB / 475.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.1379, allocations: 111.2 kB / 475.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.824e-06/0.1379, allocations: 0 / 475.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.1382, allocations: 39.92 kB / 475.6 MB, free: 7.461 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.0009396/0.1391, allocations: 443.1 kB / 476 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006193/0.1397, allocations: 163.8 kB / 476.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1397, allocations: 0 / 476.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.14, allocations: 79.86 kB / 476.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.1404, allocations: 23.64 kB / 476.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004985/0.1409, allocations: 247.5 kB / 476.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.1412, allocations: 0.7043 MB / 477.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.05e-05/0.1413, allocations: 20.39 kB / 477.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.457e-05/0.1414, allocations: 15.44 kB / 477.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1414, allocations: 0 / 477.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of Templates: time 0.004844/0.1462, allocations: 1.912 MB / 479.1 MB, free: 4.008 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