Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 110.3 kB / 17.98 MB, free: 5.238 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.001241/0.001241, allocations: 193.3 kB / 18.9 MB, free: 4.32 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.6 MB, free: 15.32 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.2059/0.2059, allocations: 44.18 MB / 336.9 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 61.19 kB / 408.5 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1043, allocations: 60.82 MB / 469.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.002991/0.1074, allocations: 1.703 MB / 471.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007539/0.1081, allocations: 443.2 kB / 471.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.65e-05/0.1082, allocations: 0 / 471.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.1085, allocations: 75.77 kB / 471.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.1087, allocations: 51.88 kB / 471.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.1091, allocations: 161.6 kB / 471.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.1093, allocations: 83.77 kB / 471.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.831e-05/0.1094, allocations: 27.97 kB / 471.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.427e-05/0.1094, allocations: 31.91 kB / 471.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.698e-05/0.1095, allocations: 59.75 kB / 472 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1096, allocations: 4 kB / 472 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.743e-05/0.1097, allocations: 55.86 kB / 472 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.973e-05/0.1097, allocations: 23.92 kB / 472.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.1098, allocations: 31.73 kB / 472.1 MB, free: 12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.1099, allocations: 84.17 kB / 472.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1099, allocations: 0 / 472.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1099, allocations: 4 kB / 472.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.11, allocations: 0 / 472.2 MB, free: 11.91 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.0004428/0.1104, allocations: 411 kB / 472.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1104, allocations: 12.03 kB / 472.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.1105, allocations: 12.75 kB / 472.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.1107, allocations: 212 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.106e-06/0.1107, allocations: 384 / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.1107, allocations: 8.375 kB / 472.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.1109, allocations: 77.72 kB / 472.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1109, allocations: 0 / 472.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.1109, allocations: 0 / 472.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1109, allocations: 0 / 472.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.1111, allocations: 39.97 kB / 472.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.1115, allocations: 324.6 kB / 473.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.1117, allocations: 62.55 kB / 473.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-05/0.1118, allocations: 29 kB / 473.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1119, allocations: 0 / 473.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.1119, allocations: 34.56 kB / 473.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 7.92e-07/0.1119, allocations: 4 kB / 473.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00144/0.1133, allocations: 421.1 kB / 473.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.1134, allocations: 55.34 kB / 473.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.1136, allocations: 207.3 kB / 474.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.1136, allocations: 25.7 kB / 474.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.525e-05/0.1137, allocations: 116.1 kB / 474.2 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.1137, allocations: 31.47 kB / 474.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.1137, allocations: 25.7 kB / 474.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1139, allocations: 326.8 kB / 474.6 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.114, allocations: 51.95 kB / 474.6 MB, free: 9.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.1142, allocations: 51.91 kB / 474.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.1145, allocations: 132.7 kB / 474.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1145, allocations: 0 / 474.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003193/0.1148, allocations: 169.7 kB / 475 MB, free: 8.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1148, allocations: 4 kB / 475 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1148, allocations: 3.938 kB / 475 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1149, allocations: 4 kB / 475 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.115, allocations: 27.92 kB / 475 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.115, allocations: 7.938 kB / 475 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.1151, allocations: 15.89 kB / 475 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.1151, allocations: 4 kB / 475 MB, free: 8.832 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.434e-05/0.1152, allocations: 130.4 kB / 475.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.1153, allocations: 7.906 kB / 475.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/0.1157, allocations: 183 kB / 475.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.1157, allocations: 11.92 kB / 475.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1157, allocations: 0 / 475.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1157, allocations: 0 / 475.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006608/0.1164, allocations: 0.496 MB / 475.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1164, allocations: 0 / 475.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.1165, allocations: 31.92 kB / 475.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1165, allocations: 3.938 kB / 475.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.1165, allocations: 4 kB / 475.9 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1165, allocations: 4 kB / 475.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1165, allocations: 192 / 475.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.1169, allocations: 277 kB / 476.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.665e-05/0.117, allocations: 92.92 kB / 476.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.117, allocations: 0 / 476.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.676e-05/0.1171, allocations: 19.98 kB / 476.3 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.1172, allocations: 7.984 kB / 476.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1172, allocations: 4 kB / 476.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.1173, allocations: 155.9 kB / 476.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1173, allocations: 0 / 476.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.1176, allocations: 27.98 kB / 476.5 MB, free: 7.281 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.0009953/0.1186, allocations: 465.4 kB / 476.9 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003382/0.1189, allocations: 127.9 kB / 477 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1189, allocations: 4 kB / 477.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.1191, allocations: 71.89 kB / 477.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.1195, allocations: 31.78 kB / 477.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.12, allocations: 374 kB / 477.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.1203, allocations: 0.7119 MB / 478.2 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.1204, allocations: 19.42 kB / 478.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1204, allocations: 4 kB / 478.3 MB, free: 5.609 MB / 350.1 MB Notification: Performance of Templates: time 0.003636/0.1241, allocations: 2.045 MB / 480.3 MB, free: 3.57 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches