Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 108.3 kB / 16.41 MB, free: 6.473 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.00172/0.001721, allocations: 188.1 kB / 17.34 MB, free: 5.754 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.502/1.502, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2304/0.2304, allocations: 43.53 MB / 314.1 MB, free: 452 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.001439/0.001439, allocations: 67.91 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1217, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003147/0.1249, allocations: 1.608 MB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007259/0.1256, allocations: 355.5 kB / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.137e-05/0.1257, allocations: 4 kB / 0.4898 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005294/0.1263, allocations: 455.1 kB / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.1267, allocations: 255.4 kB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.1271, allocations: 159.6 kB / 0.4906 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.1273, allocations: 163.6 kB / 0.4908 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.681e-05/0.1274, allocations: 31.95 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.1275, allocations: 107.8 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.1277, allocations: 207.6 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.1278, allocations: 11.98 kB / 0.4911 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.126e-05/0.1279, allocations: 31.94 kB / 0.4912 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.353e-05/0.128, allocations: 83.69 kB / 0.4912 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.482e-05/0.1281, allocations: 107 kB / 0.4913 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.1283, allocations: 255 kB / 0.4916 GB, free: 7.973 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1283, allocations: 0 / 0.4916 GB, free: 7.973 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1283, allocations: 7.922 kB / 0.4916 GB, free: 7.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.1284, allocations: 0 / 0.4916 GB, free: 7.965 MB / 382.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.0006371/0.129, allocations: 0.6336 MB / 0.4922 GB, free: 7.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.129, allocations: 19.83 kB / 0.4922 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.1291, allocations: 44.38 kB / 0.4923 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.1293, allocations: 296.1 kB / 0.4926 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.1294, allocations: 384 / 0.4926 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.1294, allocations: 8.359 kB / 0.4926 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.1296, allocations: 65.78 kB / 0.4926 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.1296, allocations: 0 / 0.4926 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.1296, allocations: 0 / 0.4926 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1296, allocations: 4 kB / 0.4926 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.1297, allocations: 39.97 kB / 0.4927 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/0.1302, allocations: 400.6 kB / 0.4931 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.1303, allocations: 50.55 kB / 0.4931 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.931e-05/0.1304, allocations: 24.94 kB / 0.4931 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.1304, allocations: 4 kB / 0.4931 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.1304, allocations: 30.56 kB / 0.4932 GB, free: 6.195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1304, allocations: 0 / 0.4932 GB, free: 6.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007652/0.1312, allocations: 308 kB / 0.4935 GB, free: 5.887 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.1312, allocations: 51.41 kB / 0.4935 GB, free: 5.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007548/0.132, allocations: 0.8613 MB / 0.4943 GB, free: 4.949 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.132, allocations: 25.7 kB / 0.4944 GB, free: 4.918 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.1322, allocations: 216 kB / 0.4946 GB, free: 4.703 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.1322, allocations: 23.64 kB / 0.4946 GB, free: 4.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.1323, allocations: 21.72 kB / 0.4946 GB, free: 4.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1324, allocations: 362.7 kB / 0.495 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.1325, allocations: 43.95 kB / 0.495 GB, free: 4.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.1327, allocations: 39.97 kB / 0.495 GB, free: 4.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.1329, allocations: 80.8 kB / 0.4951 GB, free: 4.125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1329, allocations: 3.938 kB / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003025/0.1332, allocations: 165 kB / 0.4953 GB, free: 3.953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1332, allocations: 8 kB / 0.4953 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1332, allocations: 0 / 0.4953 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-06/0.1332, allocations: 3.938 kB / 0.4953 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.1334, allocations: 19.98 kB / 0.4953 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.1334, allocations: 0 / 0.4953 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.17e-05/0.1334, allocations: 15.92 kB / 0.4953 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1335, allocations: 8 kB / 0.4953 GB, free: 3.898 MB / 382.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 0.0001738/0.1336, allocations: 213.7 kB / 0.4955 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.1337, allocations: 39.53 kB / 0.4956 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003516/0.1341, allocations: 181.3 kB / 0.4957 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.1341, allocations: 0 / 0.4957 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.1341, allocations: 0 / 0.4957 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1341, allocations: 11.94 kB / 0.4958 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006499/0.1347, allocations: 0.4987 MB / 0.4962 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1348, allocations: 0 / 0.4962 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.258e-05/0.1348, allocations: 15.98 kB / 0.4963 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.1349, allocations: 4 kB / 0.4963 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.1349, allocations: 3.938 kB / 0.4963 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.1349, allocations: 7.922 kB / 0.4963 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1349, allocations: 4 kB / 0.4963 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.1352, allocations: 247.1 kB / 0.4965 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.644e-05/0.1353, allocations: 112.5 kB / 0.4966 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.1353, allocations: 7.938 kB / 0.4966 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1355, allocations: 15.98 kB / 0.4966 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.1355, allocations: 4 kB / 0.4967 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.1355, allocations: 0 / 0.4967 GB, free: 2.438 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005725/0.1361, allocations: 0.6511 MB / 0.4973 GB, free: 1.789 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1361, allocations: 0 / 0.4973 GB, free: 1.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1363, allocations: 27.98 kB / 0.4973 GB, free: 1.762 MB / 382.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.0008507/0.1372, allocations: 408.4 kB / 0.4977 GB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002972/0.1375, allocations: 95.86 kB / 0.4978 GB, free: 1.305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1375, allocations: 0 / 0.4978 GB, free: 1.305 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.1377, allocations: 43.97 kB / 0.4978 GB, free: 1.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.138, allocations: 33.56 kB / 0.4979 GB, free: 1.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.139, allocations: 0.8031 MB / 0.4987 GB, free: 412 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.1394, allocations: 0.8299 MB / 0.4995 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.584e-05/0.1395, allocations: 15.98 kB / 0.4995 GB, free: 15.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.1396, allocations: 15.42 kB / 0.4995 GB, free: 15.52 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.1396, allocations: 4 kB / 0.4995 GB, free: 15.51 MB / 398.1 MB Notification: Performance of Templates: time 0.004345/0.1439, allocations: 1.588 MB / 0.501 GB, free: 13.93 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches