Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001235/0.001235, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.9 MB, free: 15.14 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.2082/0.2082, allocations: 44.18 MB / 337.3 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002078, allocations: 66.94 kB / 409.1 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1091, allocations: 60.82 MB / 469.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.002873/0.112, allocations: 1.638 MB / 471.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000776/0.1128, allocations: 451.1 kB / 472 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.997e-05/0.1129, allocations: 0 / 472 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.1131, allocations: 55.8 kB / 472.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.1133, allocations: 59.75 kB / 472.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.1137, allocations: 181.2 kB / 472.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.1139, allocations: 79.77 kB / 472.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.114, allocations: 19.98 kB / 472.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.548e-05/0.1141, allocations: 35.91 kB / 472.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.427e-05/0.1142, allocations: 39.78 kB / 472.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.1142, allocations: 4 kB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.936e-05/0.1143, allocations: 51.97 kB / 472.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.534e-05/0.1144, allocations: 27.92 kB / 472.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.073e-05/0.1144, allocations: 27.8 kB / 472.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.1146, allocations: 111.8 kB / 472.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1146, allocations: 4 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1146, allocations: 0 / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.1146, allocations: 0 / 472.7 MB, free: 11.57 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004834/0.1151, allocations: 411 kB / 473.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.1152, allocations: 8.031 kB / 473.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.1152, allocations: 8.844 kB / 473.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.1154, allocations: 200.6 kB / 473.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.1154, allocations: 384 / 473.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.1155, allocations: 11.92 kB / 473.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.1156, allocations: 73.61 kB / 473.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1157, allocations: 0 / 473.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1157, allocations: 0 / 473.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1157, allocations: 3.984 kB / 473.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.1158, allocations: 47.95 kB / 473.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.1163, allocations: 316.7 kB / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.1165, allocations: 58.55 kB / 473.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.1166, allocations: 28.97 kB / 473.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.1167, allocations: 0 / 473.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.1167, allocations: 38.55 kB / 473.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1167, allocations: 0 / 473.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001498/0.1182, allocations: 413.3 kB / 474.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.1183, allocations: 55.41 kB / 474.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.1185, allocations: 178.1 kB / 474.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.1185, allocations: 29.7 kB / 474.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.1186, allocations: 108 kB / 474.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.362e-05/0.1186, allocations: 39.53 kB / 474.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.1187, allocations: 21.72 kB / 474.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1188, allocations: 326.8 kB / 475 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.119, allocations: 60.02 kB / 475.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.1191, allocations: 59.95 kB / 475.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.1194, allocations: 116.8 kB / 475.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1194, allocations: 0 / 475.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003401/0.1198, allocations: 173.3 kB / 475.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1198, allocations: 4 kB / 475.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/0.1198, allocations: 7.938 kB / 475.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1198, allocations: 7.938 kB / 475.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.1199, allocations: 23.98 kB / 475.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.12, allocations: 0 / 475.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.871e-05/0.12, allocations: 7.984 kB / 475.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.12, allocations: 4 kB / 475.5 MB, free: 8.566 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 (11): * Single equations (assignments): 11 * 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 9.389e-05/0.1201, allocations: 133.8 kB / 475.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/0.1202, allocations: 7.906 kB / 475.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004216/0.1206, allocations: 190.7 kB / 475.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1206, allocations: 3.984 kB / 475.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1206, allocations: 0 / 475.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1206, allocations: 0 / 475.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006688/0.1213, allocations: 0.4959 MB / 476.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1213, allocations: 0 / 476.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.1214, allocations: 23.98 kB / 476.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.1215, allocations: 4 kB / 476.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1215, allocations: 4 kB / 476.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1215, allocations: 7.938 kB / 476.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.1215, allocations: 4.062 kB / 476.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.1219, allocations: 269.1 kB / 476.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.172e-05/0.1219, allocations: 81.02 kB / 476.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.1219, allocations: 4 kB / 476.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.647e-05/0.122, allocations: 15.98 kB / 476.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.1221, allocations: 15.92 kB / 476.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.1221, allocations: 0 / 476.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.927e-05/0.1222, allocations: 139.2 kB / 476.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1222, allocations: 0 / 476.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.1225, allocations: 31.89 kB / 476.9 MB, free: 7.035 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001055/0.1236, allocations: 467.2 kB / 477.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000366/0.1239, allocations: 131.9 kB / 477.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.124, allocations: 4 kB / 477.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.1241, allocations: 71.89 kB / 477.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.1245, allocations: 21.77 kB / 477.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005731/0.1251, allocations: 321.5 kB / 477.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.1254, allocations: 0.7158 MB / 478.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.811e-05/0.1255, allocations: 19.38 kB / 478.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1255, allocations: 0 / 478.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of Templates: time 0.003729/0.1292, allocations: 2.004 MB / 480.6 MB, free: 3.418 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches