Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 105.6 kB / 17.03 MB, free: 5.66 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.001554/0.001554, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.755/1.755, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2387/0.2387, allocations: 43.52 MB / 314.7 MB, free: 484 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.001687/0.001687, allocations: 77.16 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1226, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.002847/0.1256, allocations: 1.596 MB / 443.6 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005469/0.1261, allocations: 351.4 kB / 443.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.969e-05/0.1262, allocations: 4 kB / 443.9 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.1264, allocations: 71.78 kB / 444 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.1266, allocations: 55.81 kB / 444 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.127, allocations: 159.1 kB / 444.2 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.1271, allocations: 75.75 kB / 444.3 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1272, allocations: 27.92 kB / 444.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.304e-05/0.1273, allocations: 31.91 kB / 444.3 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.14e-05/0.1274, allocations: 51.81 kB / 444.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.1274, allocations: 4 kB / 444.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.158e-05/0.1275, allocations: 28 kB / 444.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.935e-05/0.1275, allocations: 35.91 kB / 444.4 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.1276, allocations: 27.75 kB / 444.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.1277, allocations: 95.64 kB / 444.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1278, allocations: 8 kB / 444.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1278, allocations: 0 / 444.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.1278, allocations: 0 / 444.6 MB, free: 3.523 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.0004748/0.1283, allocations: 402.9 kB / 445 MB, free: 3.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1283, allocations: 15.89 kB / 445 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.1283, allocations: 12.78 kB / 445 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.1285, allocations: 209 kB / 445.2 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1285, allocations: 4.375 kB / 445.2 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.1286, allocations: 4.375 kB / 445.2 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.1287, allocations: 65.73 kB / 445.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1288, allocations: 0 / 445.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1288, allocations: 0 / 445.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.1288, allocations: 0 / 445.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.1289, allocations: 39.95 kB / 445.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.1293, allocations: 312.7 kB / 445.6 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.1294, allocations: 46.5 kB / 445.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.75e-05/0.1295, allocations: 28.92 kB / 445.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1295, allocations: 4 kB / 445.7 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.1295, allocations: 34.56 kB / 445.7 MB, free: 2.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1295, allocations: 0 / 445.7 MB, free: 2.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.00063/0.1302, allocations: 229.2 kB / 445.9 MB, free: 1.977 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/0.1302, allocations: 55.34 kB / 446 MB, free: 1.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.1303, allocations: 212.7 kB / 446.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.1304, allocations: 25.7 kB / 446.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.1304, allocations: 108 kB / 446.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.1304, allocations: 19.72 kB / 446.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.1305, allocations: 17.72 kB / 446.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.73e-05/0.1305, allocations: 326.8 kB / 446.7 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-05/0.1306, allocations: 47.95 kB / 446.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.378e-05/0.1307, allocations: 35.97 kB / 446.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.1309, allocations: 89.02 kB / 446.9 MB, free: 1.008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1309, allocations: 0 / 446.9 MB, free: 1.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002175/0.1311, allocations: 129.5 kB / 447 MB, free: 0.875 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1312, allocations: 9.25 kB / 447 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.1312, allocations: 0 / 447 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1312, allocations: 0 / 447 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1313, allocations: 19.98 kB / 447 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1313, allocations: 0 / 447 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.778e-05/0.1314, allocations: 11.92 kB / 447 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1314, allocations: 4 kB / 447 MB, free: 0.832 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 7.008e-05/0.1315, allocations: 145.6 kB / 447.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.1315, allocations: 11.81 kB / 447.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.1318, allocations: 146.9 kB / 447.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1318, allocations: 4 kB / 447.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1318, allocations: 0 / 447.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/0.1318, allocations: 3.938 kB / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004058/0.1322, allocations: 414.4 kB / 447.7 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1322, allocations: 0 / 447.7 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.824e-05/0.1323, allocations: 15.98 kB / 447.8 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1323, allocations: 0 / 447.8 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1323, allocations: 11.94 kB / 447.8 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1323, allocations: 0 / 447.8 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1323, allocations: 0 / 447.8 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.1327, allocations: 219.4 kB / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.1327, allocations: 85.02 kB / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.1327, allocations: 8.203 kB / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.889e-05/0.1328, allocations: 4 kB / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.1329, allocations: 15.92 kB / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.1329, allocations: 8 kB / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.133, allocations: 151.9 kB / 448.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.133, allocations: 0 / 448.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.1333, allocations: 20 kB / 448.3 MB, free: 15.49 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.0009286/0.1342, allocations: 397.4 kB / 448.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002736/0.1345, allocations: 95.91 kB / 448.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1345, allocations: 0 / 448.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.1346, allocations: 51.91 kB / 448.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.135, allocations: 27.48 kB / 448.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.1354, allocations: 259 kB / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.1357, allocations: 0.7119 MB / 449.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.344e-05/0.1358, allocations: 19.97 kB / 449.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.1359, allocations: 15.44 kB / 449.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1359, allocations: 0 / 449.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of Templates: time 0.003523/0.1394, allocations: 1.31 MB / 451.1 MB, free: 12.65 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches