Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.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.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001136, allocations: 109.2 kB / 17.04 MB, free: 5.809 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.001384/0.001384, allocations: 195 kB / 17.97 MB, free: 5.027 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.364/1.364, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.1964/0.1964, allocations: 43.52 MB / 314.7 MB, free: 492 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.001635/0.001635, allocations: 69.83 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1048, allocations: 57.78 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002591/0.1074, allocations: 1.546 MB / 443.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004687/0.1079, allocations: 319.5 kB / 443.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.693e-05/0.108, allocations: 7.875 kB / 443.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.1082, allocations: 111.7 kB / 443.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.1084, allocations: 71.78 kB / 444 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.1086, allocations: 67.84 kB / 444.1 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.1088, allocations: 75.8 kB / 444.2 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1089, allocations: 19.88 kB / 444.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.859e-05/0.109, allocations: 39.89 kB / 444.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.1091, allocations: 51.89 kB / 444.3 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.1091, allocations: 7.984 kB / 444.3 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.863e-05/0.1092, allocations: 39.92 kB / 444.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.575e-05/0.1092, allocations: 23.86 kB / 444.3 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.1093, allocations: 27.75 kB / 444.4 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.1094, allocations: 95.7 kB / 444.5 MB, free: 3.652 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1094, allocations: 0 / 444.5 MB, free: 3.652 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1094, allocations: 0 / 444.5 MB, free: 3.652 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1094, allocations: 0 / 444.5 MB, free: 3.652 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003727/0.1098, allocations: 414.8 kB / 444.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1099, allocations: 19.88 kB / 444.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.1099, allocations: 12.83 kB / 444.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.11, allocations: 200 kB / 445.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1101, allocations: 384 / 445.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.1101, allocations: 8.312 kB / 445.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.1102, allocations: 49.8 kB / 445.1 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1102, allocations: 0 / 445.1 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1102, allocations: 0 / 445.1 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1102, allocations: 8 kB / 445.1 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.093e-05/0.1103, allocations: 19.98 kB / 445.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/0.1106, allocations: 280.9 kB / 445.4 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.1108, allocations: 50.48 kB / 445.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.279e-05/0.1109, allocations: 12.86 kB / 445.5 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.1109, allocations: 4 kB / 445.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.301e-05/0.1109, allocations: 30.56 kB / 445.5 MB, free: 2.402 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1109, allocations: 0 / 445.5 MB, free: 2.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004693/0.1114, allocations: 149.2 kB / 445.7 MB, free: 2.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.1114, allocations: 55.41 kB / 445.7 MB, free: 2.184 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.1116, allocations: 250.6 kB / 446 MB, free: 1.926 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.1116, allocations: 29.7 kB / 446 MB, free: 1.891 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.1117, allocations: 108.1 kB / 446.1 MB, free: 1.781 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.1117, allocations: 11.81 kB / 446.1 MB, free: 1.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.1117, allocations: 17.72 kB / 446.1 MB, free: 1.746 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.786e-05/0.1118, allocations: 326.8 kB / 446.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.745e-05/0.1118, allocations: 15.98 kB / 446.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.995e-05/0.1119, allocations: 27.92 kB / 446.5 MB, free: 1.375 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.897e-05/0.112, allocations: 52.95 kB / 446.6 MB, free: 1.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.112, allocations: 0 / 446.6 MB, free: 1.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001416/0.1121, allocations: 85.48 kB / 446.6 MB, free: 1.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1122, allocations: 5.25 kB / 446.6 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1122, allocations: 0 / 446.6 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1122, allocations: 0 / 446.6 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.549e-05/0.1122, allocations: 19.98 kB / 446.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1123, allocations: 3.938 kB / 446.7 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.571e-05/0.1123, allocations: 7.984 kB / 446.7 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.1123, allocations: 0 / 446.7 MB, free: 1.195 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 (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 6.108e-05/0.1124, allocations: 133.7 kB / 446.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.1124, allocations: 15.89 kB / 446.8 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.1126, allocations: 90.66 kB / 446.9 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1126, allocations: 4 kB / 446.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1126, allocations: 0 / 446.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1126, allocations: 4 kB / 446.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.1129, allocations: 354.4 kB / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1129, allocations: 0 / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.637e-05/0.113, allocations: 15.98 kB / 447.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.113, allocations: 0 / 447.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.113, allocations: 4.188 kB / 447.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.113, allocations: 7.938 kB / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.113, allocations: 4 kB / 447.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.1132, allocations: 179.3 kB / 447.5 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.355e-05/0.1132, allocations: 81.3 kB / 447.6 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.1132, allocations: 7.984 kB / 447.6 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.403e-05/0.1133, allocations: 7.875 kB / 447.6 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.1133, allocations: 7.984 kB / 447.6 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.1134, allocations: 4 kB / 447.6 MB, free: 196 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.1135, allocations: 183.2 kB / 447.8 MB, free: 12 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1135, allocations: 4 kB / 447.8 MB, free: 8 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.1137, allocations: 12.05 kB / 447.8 MB, free: 15.99 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 (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.0009498/0.1147, allocations: 419.6 kB / 448.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.1149, allocations: 43.97 kB / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1149, allocations: 4 kB / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.174e-05/0.115, allocations: 31.91 kB / 448.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.1153, allocations: 12 kB / 448.3 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000423/0.1157, allocations: 234.4 kB / 448.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.1161, allocations: 0.7119 MB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.363e-05/0.1161, allocations: 11.98 kB / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.1162, allocations: 11.44 kB / 449.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1162, allocations: 0 / 449.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of Templates: time 0.003714/0.1199, allocations: 1.13 MB / 450.4 MB, free: 13.45 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches