Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 108.4 kB / 16.64 MB, free: 6.812 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.001339/0.001339, allocations: 186 kB / 17.56 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2293/0.2293, allocations: 43.53 MB / 314.3 MB, free: 0.6953 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 73.78 kB / 382.9 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1143, allocations: 57.78 MB / 440.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.003306/0.1176, allocations: 1.716 MB / 442.4 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006375/0.1183, allocations: 351.4 kB / 442.7 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.913e-05/0.1184, allocations: 4 kB / 442.7 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002476/0.1187, allocations: 23.91 kB / 442.7 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.119, allocations: 39.84 kB / 442.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.1193, allocations: 99.81 kB / 442.9 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.1195, allocations: 79.77 kB / 443 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1196, allocations: 20.44 kB / 443 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.029e-05/0.1197, allocations: 39.8 kB / 443 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.9e-05/0.1197, allocations: 35.83 kB / 443.1 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1198, allocations: 8 kB / 443.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.1199, allocations: 51.98 kB / 443.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.429e-05/0.12, allocations: 19.91 kB / 443.1 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.12, allocations: 35.8 kB / 443.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.1202, allocations: 79.88 kB / 443.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1202, allocations: 0 / 443.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1202, allocations: 0 / 443.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.1202, allocations: 4 kB / 443.3 MB, free: 4.742 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005477/0.1208, allocations: 411.1 kB / 443.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1208, allocations: 12.03 kB / 443.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/0.1209, allocations: 16.69 kB / 443.7 MB, free: 4.266 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.1211, allocations: 192.2 kB / 443.9 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1211, allocations: 384 / 443.9 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.1211, allocations: 4.375 kB / 443.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.1214, allocations: 99.48 kB / 444 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1214, allocations: 3.938 kB / 444 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1214, allocations: 3.984 kB / 444 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.1214, allocations: 0 / 444 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.1217, allocations: 71.92 kB / 444 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.1221, allocations: 304.7 kB / 444.3 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.1223, allocations: 70.47 kB / 444.4 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.1225, allocations: 44.94 kB / 444.5 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.1225, allocations: 4 kB / 444.5 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.1225, allocations: 34.56 kB / 444.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.1225, allocations: 3.938 kB / 444.5 MB, free: 3.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.001411/0.1239, allocations: 360.9 kB / 444.9 MB, free: 2.965 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.124, allocations: 85.11 kB / 444.9 MB, free: 2.863 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.1241, allocations: 141.2 kB / 445.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.1241, allocations: 25.7 kB / 445.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.1242, allocations: 96.12 kB / 445.2 MB, free: 2.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.1242, allocations: 31.55 kB / 445.2 MB, free: 2.559 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.263e-05/0.1243, allocations: 21.72 kB / 445.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.065e-05/0.1243, allocations: 318.8 kB / 445.6 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.1246, allocations: 72 kB / 445.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.1248, allocations: 82 kB / 445.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/0.1253, allocations: 148.7 kB / 445.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1253, allocations: 0 / 445.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005089/0.1258, allocations: 181.5 kB / 446 MB, free: 1.723 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1258, allocations: 4 kB / 446 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.1259, allocations: 0 / 446 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1259, allocations: 4 kB / 446 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.1261, allocations: 31.95 kB / 446.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.1261, allocations: 8 kB / 446.1 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.1262, allocations: 27.91 kB / 446.1 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.1262, allocations: 3.984 kB / 446.1 MB, free: 1.645 MB / 318.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 (8): * Single equations (assignments): 8 * 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 6.743e-05/0.1263, allocations: 125.7 kB / 446.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.1264, allocations: 11.84 kB / 446.2 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005709/0.1269, allocations: 198.5 kB / 446.4 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1269, allocations: 4 kB / 446.4 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.127, allocations: 0 / 446.4 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.127, allocations: 7.922 kB / 446.4 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006935/0.1277, allocations: 470.3 kB / 446.9 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1277, allocations: 4 kB / 446.9 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.1278, allocations: 31.95 kB / 446.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.1278, allocations: 8 kB / 446.9 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.1279, allocations: 3.938 kB / 447 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1279, allocations: 0 / 447 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1279, allocations: 0 / 447 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005635/0.1284, allocations: 287.1 kB / 447.2 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.1285, allocations: 81.09 kB / 447.3 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.1285, allocations: 11.94 kB / 447.3 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.1287, allocations: 19.97 kB / 447.3 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/0.1288, allocations: 11.98 kB / 447.4 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.1288, allocations: 0 / 447.4 MB, free: 292 kB / 318.1 MB Notification: Performance of sorting global known variables: time 6.73e-05/0.1289, allocations: 119.2 kB / 447.5 MB, free: 172 kB / 318.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1289, allocations: 0 / 447.5 MB, free: 172 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002947/0.1292, allocations: 31.94 kB / 447.5 MB, free: 140 kB / 318.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 (8): * Single equations (assignments): 8 * 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.001194/0.1304, allocations: 448 kB / 447.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006348/0.131, allocations: 147.8 kB / 448.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.131, allocations: 0 / 448.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002835/0.1313, allocations: 83.92 kB / 448.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.1317, allocations: 19.92 kB / 448.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.1322, allocations: 236.3 kB / 448.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.1325, allocations: 0.7001 MB / 449.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.744e-05/0.1325, allocations: 19.44 kB / 449.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1326, allocations: 0 / 449.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of Templates: time 0.004175/0.1367, allocations: 2.111 MB / 451.2 MB, free: 12.42 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches