Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001422/0.001422, allocations: 194 kB / 18.77 MB, free: 4.742 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.4/1.4, allocations: 222.9 MB / 242.4 MB, free: 15.34 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.2234/0.2234, allocations: 44.18 MB / 336.8 MB, free: 2.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 65.33 kB / 408.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1114, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003448/0.1149, allocations: 1.664 MB / 470.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008593/0.1158, allocations: 439.1 kB / 471.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.751e-05/0.1159, allocations: 0 / 471.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.1162, allocations: 87.81 kB / 471.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.1165, allocations: 59.86 kB / 471.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.1169, allocations: 107.8 kB / 471.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.1171, allocations: 83.81 kB / 471.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.1172, allocations: 32.2 kB / 471.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.691e-05/0.1173, allocations: 35.89 kB / 471.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.1174, allocations: 59.81 kB / 471.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.1174, allocations: 4 kB / 471.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.1175, allocations: 47.92 kB / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.483e-05/0.1176, allocations: 31.86 kB / 471.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.434e-05/0.1177, allocations: 35.72 kB / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.1178, allocations: 91.77 kB / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1179, allocations: 0 / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1179, allocations: 4 kB / 471.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1179, allocations: 0 / 471.9 MB, free: 12.06 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005407/0.1184, allocations: 423 kB / 472.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1185, allocations: 8.031 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.1185, allocations: 16.75 kB / 472.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.1187, allocations: 216 kB / 472.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1188, allocations: 8.359 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.1188, allocations: 12.36 kB / 472.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.119, allocations: 72.67 kB / 472.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.119, allocations: 4 kB / 472.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.119, allocations: 0 / 472.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.119, allocations: 0 / 472.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.1192, allocations: 47.95 kB / 472.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.1197, allocations: 348.5 kB / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.1198, allocations: 62.56 kB / 473.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.361e-05/0.1199, allocations: 24.84 kB / 473.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.1199, allocations: 0 / 473.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.12, allocations: 46.48 kB / 473.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.12, allocations: 3.938 kB / 473.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001136/0.1211, allocations: 317.7 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.1212, allocations: 59.41 kB / 473.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.1214, allocations: 231.5 kB / 473.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.1214, allocations: 29.7 kB / 473.8 MB, free: 9.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.098e-05/0.1215, allocations: 120 kB / 473.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.1216, allocations: 35.45 kB / 474 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-05/0.1216, allocations: 33.7 kB / 474 MB, free: 9.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1218, allocations: 330.8 kB / 474.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.1219, allocations: 43.97 kB / 474.4 MB, free: 9.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.122, allocations: 47.97 kB / 474.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.1222, allocations: 112 kB / 474.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1222, allocations: 0 / 474.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003045/0.1225, allocations: 153.5 kB / 474.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1226, allocations: 4 kB / 474.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1226, allocations: 0 / 474.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1226, allocations: 11.94 kB / 474.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.1227, allocations: 27.97 kB / 474.7 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.1227, allocations: 4.062 kB / 474.7 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.1228, allocations: 4 kB / 474.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.1228, allocations: 8 kB / 474.7 MB, free: 9.035 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 (13): * Single equations (assignments): 13 * 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.000139/0.123, allocations: 137.7 kB / 474.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.123, allocations: 15.81 kB / 474.9 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003826/0.1234, allocations: 183.1 kB / 475.1 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1234, allocations: 4 kB / 475.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1234, allocations: 0 / 475.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1234, allocations: 3.984 kB / 475.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007219/0.1242, allocations: 0.499 MB / 475.6 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1242, allocations: 0 / 475.6 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.396e-05/0.1243, allocations: 23.98 kB / 475.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1243, allocations: 4 kB / 475.6 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.1243, allocations: 3.984 kB / 475.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.1243, allocations: 4 kB / 475.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1243, allocations: 0 / 475.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.1247, allocations: 260.1 kB / 475.9 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/0.1247, allocations: 85.02 kB / 475.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.1248, allocations: 4 kB / 476 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.891e-05/0.1249, allocations: 7.984 kB / 476 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.1249, allocations: 15.98 kB / 476 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.125, allocations: 0 / 476 MB, free: 7.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.1251, allocations: 175.2 kB / 476.1 MB, free: 7.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1251, allocations: 0 / 476.1 MB, free: 7.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.1254, allocations: 31.98 kB / 476.2 MB, free: 7.488 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001103/0.1265, allocations: 450.8 kB / 476.6 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002945/0.1268, allocations: 127.8 kB / 476.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1268, allocations: 0 / 476.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.127, allocations: 63.84 kB / 476.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.1274, allocations: 23.64 kB / 476.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006669/0.1281, allocations: 383.2 kB / 477.2 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.1284, allocations: 0.7238 MB / 477.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.1285, allocations: 23.44 kB / 478 MB, free: 5.836 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1285, allocations: 3.938 kB / 478 MB, free: 5.832 MB / 350.1 MB Notification: Performance of Templates: time 0.004187/0.1327, allocations: 2.085 MB / 480 MB, free: 3.746 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches