Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,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_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,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_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008531/0.0008531, allocations: 171 kB / 16.72 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.242/1.242, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006936/0.0006939, allocations: 86.34 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3218/0.3218, allocations: 43.56 MB / 363.1 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003444, allocations: 16 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1081, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002077/0.1102, allocations: 1.305 MB / 492.1 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006466/0.1109, allocations: 339.8 kB / 492.5 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.855e-05/0.111, allocations: 0 / 492.5 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005514/0.1116, allocations: 439.2 kB / 492.9 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003434/0.1119, allocations: 247.5 kB / 493.1 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004297/0.1124, allocations: 135.8 kB / 493.3 MB, free: 8.434 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.1126, allocations: 139.6 kB / 493.4 MB, free: 8.297 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1128, allocations: 23.83 kB / 493.4 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.1129, allocations: 103.8 kB / 493.5 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.1131, allocations: 167.7 kB / 493.7 MB, free: 8.008 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.1131, allocations: 4 kB / 493.7 MB, free: 8.004 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.746e-05/0.1133, allocations: 31.92 kB / 493.7 MB, free: 7.973 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.1134, allocations: 79.75 kB / 493.8 MB, free: 7.895 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.948e-05/0.1135, allocations: 116.8 kB / 493.9 MB, free: 7.773 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.1137, allocations: 188 kB / 494.1 MB, free: 7.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1137, allocations: 0 / 494.1 MB, free: 7.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1137, allocations: 0 / 494.1 MB, free: 7.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1137, allocations: 0 / 494.1 MB, free: 7.59 MB / 378.7 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.0007194/0.1145, allocations: 0.595 MB / 494.7 MB, free: 6.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1145, allocations: 12.03 kB / 494.7 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.406e-05/0.1146, allocations: 36.47 kB / 494.7 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.1149, allocations: 300.1 kB / 495 MB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1149, allocations: 4.359 kB / 495 MB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.1149, allocations: 4.375 kB / 495 MB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.1151, allocations: 69.73 kB / 495.1 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1151, allocations: 4 kB / 495.1 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1151, allocations: 4 kB / 495.1 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1152, allocations: 0 / 495.1 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.1153, allocations: 47.95 kB / 495.2 MB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005523/0.1159, allocations: 408.6 kB / 495.6 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.116, allocations: 50.48 kB / 495.6 MB, free: 5.922 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.994e-05/0.1161, allocations: 32.94 kB / 495.6 MB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.1161, allocations: 0 / 495.6 MB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.1162, allocations: 38.56 kB / 495.7 MB, free: 5.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1162, allocations: 0 / 495.7 MB, free: 5.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008841/0.1171, allocations: 343.8 kB / 496 MB, free: 5.496 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.1171, allocations: 55.41 kB / 496.1 MB, free: 5.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000753/0.1179, allocations: 0.8535 MB / 496.9 MB, free: 4.566 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1179, allocations: 29.7 kB / 497 MB, free: 4.531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.1181, allocations: 212 kB / 497.2 MB, free: 4.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.1181, allocations: 31.55 kB / 497.2 MB, free: 4.289 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.1181, allocations: 0 / 497.2 MB, free: 4.289 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1182, allocations: 366.7 kB / 497.6 MB, free: 3.922 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.1184, allocations: 39.97 kB / 497.6 MB, free: 3.883 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.1185, allocations: 51.95 kB / 497.6 MB, free: 3.832 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.1187, allocations: 104.7 kB / 497.7 MB, free: 3.727 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1187, allocations: 4 kB / 497.7 MB, free: 3.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003069/0.119, allocations: 165.2 kB / 497.9 MB, free: 3.555 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1191, allocations: 8 kB / 497.9 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1191, allocations: 4 kB / 497.9 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1191, allocations: 0 / 497.9 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.1192, allocations: 23.97 kB / 497.9 MB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1192, allocations: 4.312 kB / 497.9 MB, free: 3.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.447e-05/0.1193, allocations: 15.94 kB / 498 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.1193, allocations: 3.984 kB / 498 MB, free: 3.496 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001838/0.1195, allocations: 225.7 kB / 498.2 MB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.1196, allocations: 43.44 kB / 498.2 MB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003746/0.12, allocations: 193.4 kB / 498.4 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.12, allocations: 7.984 kB / 498.4 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.12, allocations: 0 / 498.4 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.12, allocations: 3.938 kB / 498.4 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006321/0.1206, allocations: 0.5218 MB / 499 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1207, allocations: 0 / 499 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.342e-05/0.1207, allocations: 19.98 kB / 499 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1208, allocations: 4 kB / 499 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1208, allocations: 3.938 kB / 499 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1208, allocations: 4 kB / 499 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1208, allocations: 0 / 499 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.1211, allocations: 270.9 kB / 499.2 MB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.748e-05/0.1212, allocations: 116.5 kB / 499.4 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.1212, allocations: 3.938 kB / 499.4 MB, free: 1.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.757e-05/0.1213, allocations: 15.98 kB / 499.4 MB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.1214, allocations: 4.281 kB / 499.4 MB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.1214, allocations: 4 kB / 499.4 MB, free: 1.961 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005358/0.1219, allocations: 0.6549 MB / 0.4883 GB, free: 1.309 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.122, allocations: 0 / 0.4883 GB, free: 1.309 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002396/0.1222, allocations: 24 kB / 0.4883 GB, free: 1.285 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007826/0.123, allocations: 410.9 kB / 0.4887 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002912/0.1233, allocations: 107.9 kB / 0.4888 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1233, allocations: 0 / 0.4888 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.1234, allocations: 59.91 kB / 0.4889 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.1238, allocations: 21.95 kB / 0.4889 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1845/0.3083, allocations: 0.8805 MB / 0.4898 GB, free: 43.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.3088, allocations: 0.8261 MB / 0.4906 GB, free: 42.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.532e-05/0.3089, allocations: 13.91 kB / 0.4906 GB, free: 42.65 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3089, allocations: 0 / 0.4906 GB, free: 42.65 MB / 378.7 MB Notification: Performance of Templates: time 0.009366/0.3183, allocations: 3.778 MB / 0.4943 GB, free: 42.05 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches