Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 95.16 kB / 18 MB, free: 5.602 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.001324/0.001324, allocations: 176.4 kB / 18.91 MB, free: 4.738 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.341/1.341, allocations: 223.3 MB / 242.9 MB, free: 15.93 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.2342/0.2342, allocations: 44.25 MB / 338.3 MB, free: 2.602 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003246, allocations: 12 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1186, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002131/0.1208, allocations: 1.325 MB / 474.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008349/0.1217, allocations: 439.3 kB / 474.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.1217, allocations: 0 / 474.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005781/0.1223, allocations: 455.2 kB / 475.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003069/0.1226, allocations: 243.5 kB / 475.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.123, allocations: 163 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.1233, allocations: 167.6 kB / 475.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1234, allocations: 12.19 kB / 475.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1235, allocations: 95.8 kB / 475.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.1237, allocations: 203.6 kB / 476 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.1238, allocations: 3.938 kB / 476 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-05/0.1238, allocations: 31.97 kB / 476 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.883e-05/0.1239, allocations: 83.69 kB / 476.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.124, allocations: 120.7 kB / 476.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.1243, allocations: 180 kB / 476.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1243, allocations: 0 / 476.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1243, allocations: 0 / 476.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1243, allocations: 0 / 476.4 MB, free: 9.82 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.0006733/0.125, allocations: 0.5989 MB / 477 MB, free: 9.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.125, allocations: 8.031 kB / 477 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.929e-05/0.1251, allocations: 44.38 kB / 477 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.1254, allocations: 288.2 kB / 477.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1254, allocations: 8.297 kB / 477.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.1254, allocations: 8.375 kB / 477.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1256, allocations: 57.62 kB / 477.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1256, allocations: 0 / 477.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1256, allocations: 7.984 kB / 477.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1256, allocations: 0 / 477.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.1257, allocations: 35.92 kB / 477.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.1263, allocations: 392.6 kB / 477.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.1265, allocations: 54.5 kB / 477.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.792e-05/0.1265, allocations: 16.94 kB / 477.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.1266, allocations: 3.938 kB / 477.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.1266, allocations: 38.56 kB / 477.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.1266, allocations: 0 / 477.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006437/0.1273, allocations: 255.9 kB / 478.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.1273, allocations: 51.41 kB / 478.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000812/0.1281, allocations: 0.8613 MB / 479.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.1282, allocations: 29.7 kB / 479.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.1283, allocations: 220.1 kB / 479.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.1284, allocations: 15.72 kB / 479.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/0.1284, allocations: 13.72 kB / 479.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1286, allocations: 362.8 kB / 479.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.72e-05/0.1286, allocations: 23.98 kB / 479.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.49e-05/0.1287, allocations: 27.98 kB / 479.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.1289, allocations: 60.83 kB / 479.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1289, allocations: 0 / 479.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000232/0.1291, allocations: 133.1 kB / 480 MB, free: 6.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1291, allocations: 4 kB / 480 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.1291, allocations: 0 / 480 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1292, allocations: 0 / 480 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.319e-05/0.1292, allocations: 15.98 kB / 480 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1292, allocations: 0 / 480 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.869e-05/0.1293, allocations: 15.94 kB / 480 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.1293, allocations: 0 / 480 MB, free: 5.984 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 (5): * Single equations (assignments): 5 * 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.0001846/0.1295, allocations: 214.3 kB / 480.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.1296, allocations: 43.69 kB / 480.2 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003128/0.1299, allocations: 161 kB / 480.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1299, allocations: 0 / 480.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1299, allocations: 0 / 480.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1299, allocations: 3.938 kB / 480.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00054/0.1305, allocations: 474.5 kB / 480.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1305, allocations: 0 / 480.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.667e-05/0.1305, allocations: 19.98 kB / 480.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.1305, allocations: 3.938 kB / 480.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1306, allocations: 15.81 kB / 480.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1306, allocations: 0 / 480.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1306, allocations: 0 / 480.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.1308, allocations: 227 kB / 481.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.019e-05/0.1309, allocations: 116.5 kB / 481.2 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.131, allocations: 7.922 kB / 481.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.057e-05/0.131, allocations: 4 kB / 481.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.1311, allocations: 7.984 kB / 481.3 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.1311, allocations: 0 / 481.3 MB, free: 4.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005981/0.1317, allocations: 0.6472 MB / 481.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1317, allocations: 4 kB / 481.9 MB, free: 3.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.132, allocations: 24 kB / 481.9 MB, free: 3.93 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 (5): * Single equations (assignments): 5 * 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.0009069/0.1329, allocations: 398.8 kB / 482.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.1331, allocations: 63.91 kB / 482.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1331, allocations: 0 / 482.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.098e-05/0.1332, allocations: 31.97 kB / 482.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.1335, allocations: 25.95 kB / 482.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.1347, allocations: 0.9014 MB / 483.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.1351, allocations: 0.8301 MB / 484.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.1352, allocations: 11.44 kB / 484.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1352, allocations: 0 / 484.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of Templates: time 0.006619/0.1418, allocations: 3.642 MB / 487.8 MB, free: 14.12 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches