Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 108.8 kB / 17.03 MB, free: 5.703 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.001996/0.001996, allocations: 196.1 kB / 17.97 MB, free: 5.074 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.702/1.702, 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.2276/0.2276, allocations: 43.53 MB / 314.7 MB, free: 472 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.001514/0.001515, allocations: 66.19 kB / 384.2 MB, free: 56.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1291, allocations: 57.79 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.003115/0.1323, allocations: 1.607 MB / 443.6 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006004/0.1329, allocations: 343.5 kB / 443.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.311e-05/0.133, allocations: 0 / 443.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.1333, allocations: 63.78 kB / 444 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.1335, allocations: 59.75 kB / 444 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.1339, allocations: 147.5 kB / 444.2 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.134, allocations: 79.75 kB / 444.2 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1341, allocations: 19.94 kB / 444.3 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.475e-05/0.1342, allocations: 27.91 kB / 444.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.927e-05/0.1343, allocations: 43.83 kB / 444.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1343, allocations: 0 / 444.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.34e-05/0.1344, allocations: 43.92 kB / 444.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.669e-05/0.1345, allocations: 19.92 kB / 444.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.1345, allocations: 31.8 kB / 444.4 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.1347, allocations: 87.72 kB / 444.5 MB, free: 3.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1347, allocations: 0 / 444.5 MB, free: 3.555 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1347, allocations: 0 / 444.5 MB, free: 3.555 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.1347, allocations: 0 / 444.5 MB, free: 3.555 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.0004597/0.1352, allocations: 403 kB / 444.9 MB, free: 3.113 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1352, allocations: 15.89 kB / 444.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.1353, allocations: 8.844 kB / 444.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.1354, allocations: 200.6 kB / 445.1 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1355, allocations: 8.375 kB / 445.1 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.1355, allocations: 3.938 kB / 445.1 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.1357, allocations: 57.67 kB / 445.2 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1357, allocations: 0 / 445.2 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.1357, allocations: 8 kB / 445.2 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1357, allocations: 0 / 445.2 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.1358, allocations: 31.97 kB / 445.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.1362, allocations: 316.7 kB / 445.5 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.1364, allocations: 42.55 kB / 445.6 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.025e-05/0.1364, allocations: 24.94 kB / 445.6 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.1365, allocations: 4 kB / 445.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.1365, allocations: 38.56 kB / 445.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1365, allocations: 3.938 kB / 445.7 MB, free: 2.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006814/0.1372, allocations: 229.1 kB / 445.9 MB, free: 2.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.1372, allocations: 55.34 kB / 445.9 MB, free: 1.953 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.1374, allocations: 188.5 kB / 446.1 MB, free: 1.762 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.1374, allocations: 25.7 kB / 446.1 MB, free: 1.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.1374, allocations: 96.14 kB / 446.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.1375, allocations: 27.64 kB / 446.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.1375, allocations: 21.66 kB / 446.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.275e-05/0.1376, allocations: 322.8 kB / 446.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.577e-05/0.1377, allocations: 31.97 kB / 446.6 MB, free: 1.223 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-05/0.1378, allocations: 48.03 kB / 446.7 MB, free: 1.176 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.138, allocations: 84.8 kB / 446.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.138, allocations: 0 / 446.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002217/0.1382, allocations: 125.5 kB / 446.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1382, allocations: 8 kB / 446.9 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1382, allocations: 0 / 446.9 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.1383, allocations: 4 kB / 446.9 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1384, allocations: 19.92 kB / 446.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1384, allocations: 7.875 kB / 446.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.1384, allocations: 11.98 kB / 446.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1384, allocations: 4 kB / 446.9 MB, free: 0.9062 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.536e-05/0.1385, allocations: 133.8 kB / 447.1 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.1386, allocations: 12.09 kB / 447.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.1389, allocations: 138.3 kB / 447.2 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1389, allocations: 3.984 kB / 447.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.1389, allocations: 7.938 kB / 447.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1389, allocations: 3.938 kB / 447.2 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.1393, allocations: 406.5 kB / 447.6 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1393, allocations: 0 / 447.6 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.124e-05/0.1394, allocations: 19.98 kB / 447.6 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1394, allocations: 3.938 kB / 447.7 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.1394, allocations: 4 kB / 447.7 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1394, allocations: 0 / 447.7 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1394, allocations: 3.984 kB / 447.7 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.1398, allocations: 219.3 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.1398, allocations: 92.94 kB / 448 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.1399, allocations: 0 / 448 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.553e-05/0.14, allocations: 11.98 kB / 448 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.14, allocations: 0 / 448 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.14, allocations: 4 kB / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.1401, allocations: 147.9 kB / 448.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1402, allocations: 0 / 448.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.1404, allocations: 19.94 kB / 448.1 MB, free: 15.59 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.0009332/0.1413, allocations: 397.7 kB / 448.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002833/0.1416, allocations: 95.84 kB / 448.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1417, allocations: 8 kB / 448.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.1418, allocations: 47.95 kB / 448.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.1422, allocations: 16 kB / 448.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.1426, allocations: 242.3 kB / 448.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.143, allocations: 0.7119 MB / 449.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.572e-05/0.143, allocations: 19.98 kB / 449.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.1431, allocations: 11.44 kB / 449.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1431, allocations: 3.938 kB / 449.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of Templates: time 0.003718/0.1468, allocations: 1.283 MB / 451 MB, free: 12.8 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches