Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 111.1 kB / 16.41 MB, free: 6.484 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.001332/0.001332, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.64/1.64, 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.2298/0.2298, allocations: 43.53 MB / 314.1 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.001509/0.001509, allocations: 59.91 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1314, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003605/0.135, allocations: 1.612 MB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008355/0.1359, allocations: 347.5 kB / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.428e-05/0.136, allocations: 0 / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.1363, allocations: 63.8 kB / 0.4899 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.1366, allocations: 51.81 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004965/0.1371, allocations: 151.6 kB / 0.4901 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.1373, allocations: 79.77 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.1374, allocations: 23.95 kB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.711e-05/0.1375, allocations: 31.91 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.1376, allocations: 47.83 kB / 0.4902 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.1376, allocations: 0 / 0.4902 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.349e-05/0.1377, allocations: 39.98 kB / 0.4903 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.386e-05/0.1378, allocations: 19.92 kB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.1379, allocations: 31.73 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.1381, allocations: 99.64 kB / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1381, allocations: 0 / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1381, allocations: 0 / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1381, allocations: 0 / 0.4904 GB, free: 9.207 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.0006193/0.1387, allocations: 403 kB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1388, allocations: 15.88 kB / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.1388, allocations: 16.75 kB / 0.4908 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.139, allocations: 188.1 kB / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-06/0.1391, allocations: 384 / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.1391, allocations: 8.281 kB / 0.491 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.1393, allocations: 73.7 kB / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1393, allocations: 0 / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1393, allocations: 0 / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1393, allocations: 0 / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.1395, allocations: 43.97 kB / 0.4911 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005342/0.14, allocations: 300.8 kB / 0.4914 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.1403, allocations: 54.48 kB / 0.4915 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.723e-05/0.1404, allocations: 28.94 kB / 0.4915 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.1404, allocations: 4 kB / 0.4915 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.1405, allocations: 38.5 kB / 0.4915 GB, free: 7.895 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.1405, allocations: 0 / 0.4915 GB, free: 7.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008659/0.1413, allocations: 221.1 kB / 0.4917 GB, free: 7.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.1414, allocations: 55.41 kB / 0.4918 GB, free: 7.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.1417, allocations: 186.2 kB / 0.492 GB, free: 7.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.1417, allocations: 25.7 kB / 0.492 GB, free: 7.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.1419, allocations: 104.1 kB / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.1419, allocations: 35.61 kB / 0.4921 GB, free: 7.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.142, allocations: 17.72 kB / 0.4921 GB, free: 7.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1421, allocations: 326.8 kB / 0.4925 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.1422, allocations: 39.97 kB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.1424, allocations: 35.97 kB / 0.4925 GB, free: 6.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.1426, allocations: 92.95 kB / 0.4926 GB, free: 6.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1426, allocations: 0 / 0.4926 GB, free: 6.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002962/0.1429, allocations: 125.5 kB / 0.4927 GB, free: 6.594 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1429, allocations: 4 kB / 0.4927 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1429, allocations: 0 / 0.4927 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.143, allocations: 0 / 0.4927 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.1431, allocations: 19.98 kB / 0.4928 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1431, allocations: 0 / 0.4928 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.599e-05/0.1432, allocations: 19.92 kB / 0.4928 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1432, allocations: 0 / 0.4928 GB, free: 6.551 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.0001115/0.1433, allocations: 137.7 kB / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.1434, allocations: 7.906 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003971/0.1438, allocations: 142.3 kB / 0.4931 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1438, allocations: 0 / 0.4931 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1438, allocations: 0 / 0.4931 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1438, allocations: 7.938 kB / 0.4931 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007121/0.1445, allocations: 414.4 kB / 0.4935 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1445, allocations: 0 / 0.4935 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.397e-05/0.1446, allocations: 19.98 kB / 0.4935 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1446, allocations: 0 / 0.4935 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1447, allocations: 7.922 kB / 0.4935 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1447, allocations: 0 / 0.4935 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1447, allocations: 3.938 kB / 0.4935 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.145, allocations: 231.2 kB / 0.4937 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.685e-05/0.1451, allocations: 85.3 kB / 0.4938 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.1451, allocations: 3.938 kB / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.112e-05/0.1452, allocations: 11.98 kB / 0.4938 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.1453, allocations: 11.98 kB / 0.4938 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.1453, allocations: 4 kB / 0.4938 GB, free: 5.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.1454, allocations: 144 kB / 0.494 GB, free: 5.234 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1454, allocations: 0 / 0.494 GB, free: 5.234 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.1457, allocations: 16 kB / 0.494 GB, free: 5.219 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.00101/0.1467, allocations: 403.9 kB / 0.4944 GB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003202/0.147, allocations: 91.92 kB / 0.4944 GB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.1471, allocations: 0 / 0.4944 GB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.1472, allocations: 51.89 kB / 0.4945 GB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.1476, allocations: 16.91 kB / 0.4945 GB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00055/0.1482, allocations: 246.3 kB / 0.4947 GB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.1485, allocations: 0.7157 MB / 0.4954 GB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.733e-05/0.1486, allocations: 11.98 kB / 0.4955 GB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.1487, allocations: 19.42 kB / 0.4955 GB, free: 3.664 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1487, allocations: 0 / 0.4955 GB, free: 3.664 MB / 382.1 MB Notification: Performance of Templates: time 0.004411/0.1531, allocations: 1.299 MB / 0.4967 GB, free: 2.367 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches