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.001091/0.001091, allocations: 106.3 kB / 16.41 MB, free: 6.516 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.001148/0.001148, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.529/1.529, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2463/0.2463, allocations: 43.52 MB / 314.1 MB, free: 448 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.001468/0.001468, allocations: 69.47 kB / 441.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1587, allocations: 57.8 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003191/0.1619, allocations: 1.608 MB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007386/0.1627, allocations: 347.5 kB / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.66e-05/0.1628, allocations: 4 kB / 0.4898 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006973/0.1635, allocations: 459.1 kB / 0.4902 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004024/0.1639, allocations: 255.4 kB / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.1644, allocations: 155.6 kB / 0.4906 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.1647, allocations: 171.6 kB / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.1649, allocations: 27.98 kB / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.1651, allocations: 107.8 kB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.1653, allocations: 211.6 kB / 0.4911 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.1654, allocations: 8 kB / 0.4911 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.1655, allocations: 35.92 kB / 0.4912 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.1656, allocations: 83.69 kB / 0.4912 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.1658, allocations: 99 kB / 0.4913 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000426/0.1662, allocations: 266.6 kB / 0.4916 GB, free: 7.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.2e-05/0.1662, allocations: 0 / 0.4916 GB, free: 7.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.125e-06/0.1662, allocations: 3.938 kB / 0.4916 GB, free: 7.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.1662, allocations: 0 / 0.4916 GB, free: 7.949 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.0009544/0.1672, allocations: 0.6451 MB / 0.4922 GB, free: 7.254 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.1673, allocations: 19.89 kB / 0.4922 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.747e-05/0.1673, allocations: 44.66 kB / 0.4923 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.1677, allocations: 300.6 kB / 0.4926 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.1677, allocations: 4.375 kB / 0.4926 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.1677, allocations: 4.375 kB / 0.4926 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.1679, allocations: 65.78 kB / 0.4926 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.168, allocations: 0 / 0.4926 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.168, allocations: 0 / 0.4926 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.168, allocations: 4 kB / 0.4927 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.1681, allocations: 43.95 kB / 0.4927 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/0.1687, allocations: 400.6 kB / 0.4931 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.1689, allocations: 46.56 kB / 0.4931 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.431e-05/0.169, allocations: 32.92 kB / 0.4932 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.169, allocations: 4.062 kB / 0.4932 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/0.169, allocations: 34.56 kB / 0.4932 GB, free: 6.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1691, allocations: 0 / 0.4932 GB, free: 6.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000838/0.1699, allocations: 312.9 kB / 0.4935 GB, free: 5.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.1699, allocations: 55.34 kB / 0.4935 GB, free: 5.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007974/0.1707, allocations: 0.8535 MB / 0.4944 GB, free: 4.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.1708, allocations: 25.7 kB / 0.4944 GB, free: 4.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.1709, allocations: 220 kB / 0.4946 GB, free: 4.656 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.171, allocations: 15.8 kB / 0.4946 GB, free: 4.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.958e-05/0.171, allocations: 21.72 kB / 0.4946 GB, free: 4.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.1712, allocations: 370.7 kB / 0.495 GB, free: 4.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.1714, allocations: 39.97 kB / 0.495 GB, free: 4.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.1715, allocations: 35.97 kB / 0.4951 GB, free: 4.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.1717, allocations: 84.8 kB / 0.4952 GB, free: 4.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1717, allocations: 0 / 0.4952 GB, free: 4.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003206/0.1721, allocations: 169.2 kB / 0.4953 GB, free: 3.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.1721, allocations: 8 kB / 0.4953 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1721, allocations: 3.938 kB / 0.4953 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1721, allocations: 0 / 0.4953 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.1723, allocations: 19.98 kB / 0.4953 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1723, allocations: 0 / 0.4953 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.1724, allocations: 15.92 kB / 0.4954 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-06/0.1724, allocations: 8 kB / 0.4954 GB, free: 3.855 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.0002291/0.1727, allocations: 217.7 kB / 0.4956 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.707e-05/0.1727, allocations: 47.67 kB / 0.4956 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004035/0.1731, allocations: 177.4 kB / 0.4958 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1731, allocations: 0 / 0.4958 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1732, allocations: 0 / 0.4958 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1732, allocations: 7.938 kB / 0.4958 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008151/0.174, allocations: 0.5023 MB / 0.4963 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.174, allocations: 0 / 0.4963 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.813e-05/0.1741, allocations: 15.98 kB / 0.4963 GB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.1741, allocations: 4 kB / 0.4963 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.1741, allocations: 7.875 kB / 0.4963 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1741, allocations: 4.469 kB / 0.4963 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1742, allocations: 0 / 0.4963 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.1745, allocations: 255.2 kB / 0.4966 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.959e-05/0.1746, allocations: 108.8 kB / 0.4967 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.1747, allocations: 3.938 kB / 0.4967 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.792e-05/0.1748, allocations: 19.98 kB / 0.4967 GB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.1748, allocations: 3.984 kB / 0.4967 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.1748, allocations: 8 kB / 0.4967 GB, free: 2.379 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005622/0.1754, allocations: 0.6472 MB / 0.4973 GB, free: 1.734 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1754, allocations: 0 / 0.4973 GB, free: 1.734 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.1757, allocations: 31.94 kB / 0.4974 GB, free: 1.703 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.00093/0.1766, allocations: 396.1 kB / 0.4977 GB, free: 1.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003171/0.1769, allocations: 95.92 kB / 0.4978 GB, free: 1.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1769, allocations: 0 / 0.4978 GB, free: 1.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.1771, allocations: 43.97 kB / 0.4979 GB, free: 1.215 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.1774, allocations: 29.75 kB / 0.4979 GB, free: 1.184 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1786, allocations: 0.8219 MB / 0.4987 GB, free: 344 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005175/0.1791, allocations: 0.8299 MB / 0.4995 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.698e-05/0.1792, allocations: 15.98 kB / 0.4995 GB, free: 15.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.1793, allocations: 11.44 kB / 0.4995 GB, free: 15.45 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1793, allocations: 0 / 0.4995 GB, free: 15.45 MB / 398.1 MB Notification: Performance of Templates: time 0.005579/0.1849, allocations: 1.607 MB / 0.5011 GB, free: 13.85 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