Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009432/0.0009432, allocations: 93.31 kB / 18 MB, free: 5.602 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.0009039/0.000904, allocations: 179.7 kB / 18.91 MB, free: 4.734 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.342/1.342, allocations: 223.3 MB / 243 MB, free: 14.28 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.191/0.191, allocations: 44.24 MB / 338.3 MB, free: 2.398 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003026, allocations: 8 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1028, allocations: 61.93 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002029/0.1049, allocations: 1.333 MB / 474.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.1064, allocations: 1.004 MB / 475.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.1065, allocations: 3.938 kB / 475.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.1067, allocations: 12 kB / 475.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.1069, allocations: 35.84 kB / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.1072, allocations: 118.5 kB / 475.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.1074, allocations: 63.78 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.59e-05/0.1075, allocations: 16.17 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.489e-05/0.1075, allocations: 19.91 kB / 475.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.1077, allocations: 27.86 kB / 475.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.1077, allocations: 0 / 475.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.1078, allocations: 55.91 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.1079, allocations: 11.92 kB / 475.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.099e-05/0.108, allocations: 45.58 kB / 475.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.1081, allocations: 67.88 kB / 475.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1081, allocations: 0 / 475.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1081, allocations: 0 / 475.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1082, allocations: 4 kB / 475.7 MB, free: 10.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004878/0.1086, allocations: 383.5 kB / 476.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1087, allocations: 8.031 kB / 476.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.1087, allocations: 4.938 kB / 476.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.1089, allocations: 192.1 kB / 476.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.109, allocations: 384 / 476.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.109, allocations: 12.25 kB / 476.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.1092, allocations: 79.33 kB / 476.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1092, allocations: 0 / 476.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1092, allocations: 0 / 476.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1092, allocations: 0 / 476.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.1094, allocations: 47.97 kB / 476.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.1097, allocations: 292.8 kB / 476.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.1099, allocations: 42.56 kB / 476.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.863e-05/0.11, allocations: 28.94 kB / 476.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.11, allocations: 4 kB / 476.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.11, allocations: 30.56 kB / 476.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.11, allocations: 0 / 476.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007783/0.1108, allocations: 241.2 kB / 477.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.1109, allocations: 81.11 kB / 477.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.111, allocations: 137.8 kB / 477.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.111, allocations: 25.7 kB / 477.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.1111, allocations: 96.12 kB / 477.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.1111, allocations: 19.66 kB / 477.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.1112, allocations: 17.72 kB / 477.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1113, allocations: 326.8 kB / 477.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.1114, allocations: 35.97 kB / 477.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.1115, allocations: 61.62 kB / 477.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.1118, allocations: 92.91 kB / 477.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1118, allocations: 0 / 477.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002988/0.1121, allocations: 129.5 kB / 478.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1121, allocations: 7.938 kB / 478.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1121, allocations: 320 / 478.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.1122, allocations: 0 / 478.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.1123, allocations: 27.92 kB / 478.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1123, allocations: 0 / 478.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.803e-05/0.1124, allocations: 19.92 kB / 478.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.1124, allocations: 7.984 kB / 478.1 MB, free: 7.816 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 (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 8.985e-05/0.1125, allocations: 114.4 kB / 478.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.1125, allocations: 7.906 kB / 478.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/0.1129, allocations: 138 kB / 478.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.1129, allocations: 3.984 kB / 478.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1129, allocations: 0 / 478.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1129, allocations: 4.219 kB / 478.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005428/0.1134, allocations: 406.5 kB / 478.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.1135, allocations: 0 / 478.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.107e-05/0.1136, allocations: 27.98 kB / 478.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1136, allocations: 3.984 kB / 478.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.1136, allocations: 11.88 kB / 478.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1136, allocations: 0 / 478.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1136, allocations: 0 / 478.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003299/0.1139, allocations: 223.3 kB / 479.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.114, allocations: 93 kB / 479.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.114, allocations: 3.938 kB / 479.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.388e-05/0.1141, allocations: 11.98 kB / 479.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.1142, allocations: 8 kB / 479.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.1142, allocations: 11.98 kB / 479.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.658e-05/0.1143, allocations: 100.3 kB / 479.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1143, allocations: 0 / 479.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.1145, allocations: 24 kB / 479.3 MB, free: 6.543 MB / 350.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.00101/0.1156, allocations: 446.2 kB / 479.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003319/0.1159, allocations: 99.86 kB / 479.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1159, allocations: 0 / 479.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.1161, allocations: 55.95 kB / 479.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.1164, allocations: 11.98 kB / 479.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/0.1168, allocations: 226.9 kB / 480.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.1171, allocations: 0.6926 MB / 480.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/0.1172, allocations: 15.44 kB / 480.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of SimCode: time 2.164e-06/0.1172, allocations: 0 / 480.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of Templates: time 0.003586/0.1208, allocations: 1.707 MB / 482.5 MB, free: 3.422 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches