Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001146, allocations: 111.5 kB / 17.04 MB, free: 6.074 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.001084/0.001084, allocations: 195 kB / 17.97 MB, free: 5.16 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.477/1.477, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2112/0.2112, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 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.001456/0.001457, allocations: 64.8 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1062, allocations: 57.79 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002616/0.1089, allocations: 1.606 MB / 443.6 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004963/0.1094, allocations: 347.5 kB / 443.9 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.1095, allocations: 0 / 443.9 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.1097, allocations: 51.8 kB / 444 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.1099, allocations: 51.83 kB / 444 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.1102, allocations: 158.7 kB / 444.2 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.1103, allocations: 67.77 kB / 444.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1104, allocations: 27.92 kB / 444.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.65e-05/0.1105, allocations: 31.91 kB / 444.3 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.419e-05/0.1106, allocations: 35.84 kB / 444.3 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.1106, allocations: 0 / 444.3 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.307e-05/0.1106, allocations: 35.98 kB / 444.4 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.497e-05/0.1107, allocations: 27.91 kB / 444.4 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.1107, allocations: 19.81 kB / 444.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.1109, allocations: 95.66 kB / 444.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1109, allocations: 4 kB / 444.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1109, allocations: 0 / 444.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1109, allocations: 0 / 444.5 MB, free: 3.605 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000373/0.1113, allocations: 383.1 kB / 444.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1113, allocations: 15.89 kB / 444.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.1114, allocations: 16.83 kB / 444.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.1115, allocations: 193.2 kB / 445.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.1115, allocations: 8.375 kB / 445.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.1115, allocations: 4.375 kB / 445.1 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.1117, allocations: 65.73 kB / 445.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1117, allocations: 0 / 445.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1117, allocations: 7.984 kB / 445.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1117, allocations: 0 / 445.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.1119, allocations: 35.97 kB / 445.2 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.1122, allocations: 304.8 kB / 445.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.1123, allocations: 46.5 kB / 445.6 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.148e-05/0.1124, allocations: 28.88 kB / 445.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.414e-05/0.1125, allocations: 12.05 kB / 445.6 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.1125, allocations: 30.56 kB / 445.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1125, allocations: 4 kB / 445.6 MB, free: 2.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006687/0.1132, allocations: 225 kB / 445.9 MB, free: 2.086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.1132, allocations: 51.41 kB / 445.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.1133, allocations: 169.8 kB / 446.1 MB, free: 1.848 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.1133, allocations: 29.7 kB / 446.1 MB, free: 1.812 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/0.1134, allocations: 96.14 kB / 446.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.1134, allocations: 27.64 kB / 446.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.1134, allocations: 17.72 kB / 446.2 MB, free: 1.664 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.638e-05/0.1135, allocations: 322.8 kB / 446.6 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.1136, allocations: 35.97 kB / 446.6 MB, free: 1.305 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.761e-05/0.1137, allocations: 39.97 kB / 446.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.1139, allocations: 96.94 kB / 446.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1139, allocations: 0 / 446.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002379/0.1141, allocations: 121.5 kB / 446.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1142, allocations: 4 kB / 446.8 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.1142, allocations: 4 kB / 446.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1142, allocations: 0 / 446.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.1143, allocations: 19.98 kB / 446.9 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1143, allocations: 3.938 kB / 446.9 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.27e-05/0.1144, allocations: 15.89 kB / 446.9 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.1144, allocations: 4 kB / 446.9 MB, free: 0.9922 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 (7): * Single equations (assignments): 7 * 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.575e-05/0.1145, allocations: 129.7 kB / 447 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.1145, allocations: 11.84 kB / 447 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.1148, allocations: 142.6 kB / 447.2 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1148, allocations: 4 kB / 447.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1148, allocations: 3.938 kB / 447.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1148, allocations: 3.984 kB / 447.2 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004251/0.1153, allocations: 410.4 kB / 447.6 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1153, allocations: 0 / 447.6 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.373e-05/0.1154, allocations: 15.98 kB / 447.6 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1154, allocations: 7.938 kB / 447.6 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1154, allocations: 4 kB / 447.6 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1154, allocations: 0 / 447.6 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1154, allocations: 0 / 447.6 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.1157, allocations: 223.3 kB / 447.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.1157, allocations: 88.95 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.1158, allocations: 3.984 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.039e-05/0.1158, allocations: 4 kB / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.1159, allocations: 7.984 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.1159, allocations: 7.938 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.936e-05/0.116, allocations: 132.6 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.116, allocations: 4 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.1163, allocations: 19.98 kB / 448.1 MB, free: 15.68 MB / 334.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 (7): * Single equations (assignments): 7 * 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.0009452/0.1172, allocations: 405 kB / 448.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002991/0.1175, allocations: 87.92 kB / 448.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.1176, allocations: 4 kB / 448.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.1177, allocations: 47.91 kB / 448.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.118, allocations: 20.8 kB / 448.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.1185, allocations: 226 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.1188, allocations: 0.7118 MB / 449.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.962e-05/0.1189, allocations: 19.97 kB / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.1189, allocations: 15.44 kB / 449.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1189, allocations: 0 / 449.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of Templates: time 0.003868/0.1228, allocations: 1.283 MB / 450.9 MB, free: 12.92 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches